| Index: src/full-codegen/s390/full-codegen-s390.cc
|
| diff --git a/src/full-codegen/s390/full-codegen-s390.cc b/src/full-codegen/s390/full-codegen-s390.cc
|
| index b711ce51f4f8def51bec5d13fae08e980819bd0f..1b17d2c6b3f30529819642ed22ed9ce374a6bcd5 100644
|
| --- a/src/full-codegen/s390/full-codegen-s390.cc
|
| +++ b/src/full-codegen/s390/full-codegen-s390.cc
|
| @@ -1194,7 +1194,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
|
| __ mov(LoadGlobalDescriptor::SlotRegister(),
|
| @@ -2962,7 +2962,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(r4);
|
| __ mov(r3, Operand(var->name()));
|
| __ Push(r4, r3);
|
|
|