Revision: 12484 Author: [email protected] Date: Tue Sep 11 07:14:32 2012 Log: Fix array index dehoisting.
BUG=141395 TEST= Review URL: https://chromiumcodereview.appspot.com/10919214 http://code.google.com/p/v8/source/detail?r=12484 Modified: /branches/bleeding_edge/src/hydrogen.cc ======================================= --- /branches/bleeding_edge/src/hydrogen.cc Fri Sep 7 02:01:54 2012 +++ /branches/bleeding_edge/src/hydrogen.cc Tue Sep 11 07:14:32 2012 @@ -3743,6 +3743,7 @@ static void DehoistArrayIndex(ArrayInstructionInterface* array_operation) { HValue* index = array_operation->GetKey(); + if (!index->representation().IsInteger32()) return; HConstant* constant; HValue* subexpression; -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
