Revision: 14787
Author:   [email protected]
Date:     Thu May 23 18:10:23 2013
Log:      MIPS: Require smi for keyed store to smi.

Port r14779 (33d24080)

BUG=

Review URL: https://codereview.chromium.org/15889007
http://code.google.com/p/v8/source/detail?r=14787

Modified:
 /branches/bleeding_edge/src/mips/lithium-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Thu May 23 18:09:23 2013 +++ /branches/bleeding_edge/src/mips/lithium-mips.cc Thu May 23 18:10:23 2013
@@ -2126,7 +2126,7 @@
       key = UseRegisterOrConstantAtStart(instr->key());
       val = UseTempRegister(instr->value());
     } else {
-      ASSERT(instr->value()->representation().IsTagged());
+      ASSERT(instr->value()->representation().IsSmiOrTagged());
       object = UseTempRegister(instr->elements());
       val = needs_write_barrier ? UseTempRegister(instr->value())
           : UseRegisterAtStart(instr->value());

--
--
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