| Index: src/full-codegen/mips/full-codegen-mips.cc
|
| diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc
|
| index 8e76eb072572346f240ce5447d070ea248270c2a..b4c50dfd282017446a019ba0b372df3f84bb042f 100644
|
| --- a/src/full-codegen/mips/full-codegen-mips.cc
|
| +++ b/src/full-codegen/mips/full-codegen-mips.cc
|
| @@ -1263,7 +1263,7 @@ void FullCodeGenerator::EmitGlobalVariableLoad(VariableProxy* proxy,
|
| TypeofMode typeof_mode) {
|
| #ifdef DEBUG
|
| Variable* var = proxy->var();
|
| - DCHECK(var->IsUnallocatedOrGlobalSlot() ||
|
| + DCHECK(var->IsUnallocated() ||
|
| (var->IsLookupSlot() && var->mode() == DYNAMIC_GLOBAL));
|
| #endif
|
| __ li(LoadGlobalDescriptor::SlotRegister(),
|
| @@ -3050,7 +3050,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| // "delete this" is allowed.
|
| bool is_this = var->is_this();
|
| DCHECK(is_sloppy(language_mode()) || is_this);
|
| - if (var->IsUnallocatedOrGlobalSlot()) {
|
| + if (var->IsUnallocated()) {
|
| __ LoadGlobalObject(a2);
|
| __ li(a1, Operand(var->name()));
|
| __ Push(a2, a1);
|
|
|