Revision: 19122
Author:   [email protected]
Date:     Wed Feb  5 22:31:24 2014 UTC
Log:      MIPS: Move failing ASSERT to a more sane place.

Port r19095 (caf48ad)

Original commit message:
Objects can actually be stored into themselves. This fails when no write
barrier is needed (eg, the object was just allocated).

BUG=
[email protected]

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

Patch from Balazs Kilvady <[email protected]>.
http://code.google.com/p/v8/source/detail?r=19122

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

=======================================
--- /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Wed Feb 5 18:58:16 2014 UTC +++ /branches/bleeding_edge/src/mips/lithium-codegen-mips.cc Wed Feb 5 22:31:24 2014 UTC
@@ -4001,7 +4001,6 @@

   // Do the store.
   Register value = ToRegister(instr->value());
-  ASSERT(!object.is(value));
   SmiCheck check_needed =
       instr->hydrogen()->value()->IsHeapObject()
           ? OMIT_SMI_CHECK : INLINE_SMI_CHECK;

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