| 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 b303eb4f8f8117c1bb13d7be293286f1ed911b0f..cc6935c07421a358ae84a0c7a9dae1c40bc86ebb 100644
|
| --- a/src/full-codegen/s390/full-codegen-s390.cc
|
| +++ b/src/full-codegen/s390/full-codegen-s390.cc
|
| @@ -3000,7 +3000,7 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) {
|
| Variable* var = proxy->var();
|
| // Delete of an unqualified identifier is disallowed in strict mode but
|
| // "delete this" is allowed.
|
| - bool is_this = var->HasThisName(isolate());
|
| + bool is_this = var->is_this();
|
| DCHECK(is_sloppy(language_mode()) || is_this);
|
| if (var->IsUnallocatedOrGlobalSlot()) {
|
| __ LoadGlobalObject(r4);
|
|
|