Revision: 10068
Author:   mstarzin...@chromium.org
Date:     Fri Nov 25 05:21:56 2011
Log:      Fix assertion broken by recent revision.

R=yang...@chromium.org
TEST=mjsunit/keyed-call-ic

Review URL: http://codereview.chromium.org/8688008
http://code.google.com/p/v8/source/detail?r=10068

Modified:
 /branches/bleeding_edge/src/hydrogen-instructions.h

=======================================
--- /branches/bleeding_edge/src/hydrogen-instructions.h Thu Nov 24 07:17:04 2011 +++ /branches/bleeding_edge/src/hydrogen-instructions.h Fri Nov 25 05:21:56 2011
@@ -4353,7 +4353,7 @@
     // This instruction is not marked as having side effects, but
     // changes the map of the input operand. Use it only when creating
     // object literals.
-    ASSERT(value->IsObjectLiteralGeneric());
+ ASSERT(value->IsObjectLiteralGeneric() || value->IsObjectLiteralFast());
     set_representation(Representation::Tagged());
   }

--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to