Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 38e90c5071538cf1ce9a6488d65b5413390b3937..5f775d9874367fefc534d99526cec9d779981b0e 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -2248,9 +2248,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(r3); |
} else if (proxy != NULL) { |
Variable* var = proxy->var(); |
@@ -2262,7 +2261,8 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
__ LoadGlobalObject(r5); |
__ mov(r4, Operand(var->name())); |
__ Push(r5, r4); |
- __ CallRuntime(Runtime::kDeleteProperty_Sloppy); |
+ __ Push(Smi::FromInt(SLOPPY)); |
+ __ CallRuntime(Runtime::kDeleteProperty); |
context()->Plug(r3); |
} else { |
DCHECK(!var->IsLookupSlot()); |