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 c361f9298e2024b1c7b766adcae41efad293635b..236e6039294e7e1ded8c2454860759b00e7218f3 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -2983,7 +2983,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); |