Revision: 22386
Author:   [email protected]
Date:     Mon Jul 14 18:53:49 2014 UTC
Log: MIPS: Remove ASSERT since there are tons of different ASSIGN variants

Port r22382 (84a841f)

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/mips/full-codegen-mips.cc
 /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc

=======================================
--- /branches/bleeding_edge/src/mips/full-codegen-mips.cc Mon Jul 14 18:22:34 2014 UTC +++ /branches/bleeding_edge/src/mips/full-codegen-mips.cc Mon Jul 14 18:53:49 2014 UTC
@@ -2496,8 +2496,6 @@

   } else if (!var->is_const_mode() || op == Token::INIT_CONST) {
     if (var->IsLookupSlot()) {
-      ASSERT(op == Token::ASSIGN || op == Token::INIT_VAR ||
-             op == Token::ASSIGN_ADD);
       // Assignment to var.
       __ li(a1, Operand(var->name()));
       __ li(a0, Operand(Smi::FromInt(strict_mode())));
=======================================
--- /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc Mon Jul 14 18:22:34 2014 UTC +++ /branches/bleeding_edge/src/mips64/full-codegen-mips64.cc Mon Jul 14 18:53:49 2014 UTC
@@ -2490,8 +2490,6 @@

   } else if (!var->is_const_mode() || op == Token::INIT_CONST) {
     if (var->IsLookupSlot()) {
-      ASSERT(op == Token::ASSIGN || op == Token::INIT_VAR ||
-             op == Token::ASSIGN_ADD);
       // Assignment to var.
       __ li(a4, Operand(var->name()));
       __ li(a3, Operand(Smi::FromInt(strict_mode())));

--
--
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/d/optout.

Reply via email to