Revision: 14733
Author:   [email protected]
Date:     Tue May 21 07:09:28 2013
Log:      a tiny bug in DehoistArrayIndex

[email protected]

Review URL: https://codereview.chromium.org/15268009

Patch from Weiliang Lin <[email protected]>.
http://code.google.com/p/v8/source/detail?r=14733

Modified:
 /branches/bleeding_edge/src/hydrogen.cc

=======================================
--- /branches/bleeding_edge/src/hydrogen.cc     Tue May 21 04:20:24 2013
+++ /branches/bleeding_edge/src/hydrogen.cc     Tue May 21 07:09:28 2013
@@ -5363,7 +5363,9 @@
     } else if (sub->right()->IsConstant()) {
       subexpression = sub->left();
       constant = HConstant::cast(sub->right());
-    } return;
+    } else {
+      return;
+    }
   } else {
     return;
   }

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to