| Index: src/full-codegen/mips64/full-codegen-mips64.cc
|
| diff --git a/src/full-codegen/mips64/full-codegen-mips64.cc b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| index 12d0d765a8eb2dcb4ccd2349575c6a6fbd29c74b..8752365c0efb5f425ccf32daadc98061669798e1 100644
|
| --- a/src/full-codegen/mips64/full-codegen-mips64.cc
|
| +++ b/src/full-codegen/mips64/full-codegen-mips64.cc
|
| @@ -1264,7 +1264,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(),
|
| @@ -3049,7 +3049,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);
|
|
|