Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 4952a219245658d492e1f95d51ccf26e021ec47c..c9c8e0058aa25cdd245f8f0317d6f0fe4fd496a9 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -2954,7 +2954,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()) { |
__ mov(eax, NativeContextOperand()); |