Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 4725d3c3d4b00f5df363396202197af1182daac5..40bb8ff56ab21a06c4574b452eba9b39f9921799 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -2259,9 +2259,8 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
if (property != NULL) { |
VisitForStackValue(property->obj()); |
VisitForStackValue(property->key()); |
- CallRuntimeWithOperands(is_strict(language_mode()) |
- ? Runtime::kDeleteProperty_Strict |
- : Runtime::kDeleteProperty_Sloppy); |
+ PushOperand(Smi::FromInt(language_mode())); |
+ CallRuntimeWithOperands(Runtime::kDeleteProperty); |
context()->Plug(v0); |
} else if (proxy != NULL) { |
Variable* var = proxy->var(); |
@@ -2273,7 +2272,8 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
__ LoadGlobalObject(a2); |
__ li(a1, Operand(var->name())); |
__ Push(a2, a1); |
- __ CallRuntime(Runtime::kDeleteProperty_Sloppy); |
+ __ Push(Smi::FromInt(SLOPPY)); |
+ __ CallRuntime(Runtime::kDeleteProperty); |
context()->Plug(v0); |
} else { |
DCHECK(!var->IsLookupSlot()); |