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 60cbcb3cfb3a36a18acd2d7f48700107a162a2a8..566ba32d7c092b43f8a86906ef9b649cf509c654 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -2207,9 +2207,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(r2); |
} else if (proxy != NULL) { |
Variable* var = proxy->var(); |
@@ -2221,7 +2220,8 @@ void FullCodeGenerator::VisitUnaryOperation(UnaryOperation* expr) { |
__ LoadGlobalObject(r4); |
__ mov(r3, Operand(var->name())); |
__ Push(r4, r3); |
- __ CallRuntime(Runtime::kDeleteProperty_Sloppy); |
+ __ Push(Smi::FromInt(SLOPPY)); |
+ __ CallRuntime(Runtime::kDeleteProperty); |
context()->Plug(r2); |
} else { |
DCHECK(!var->IsLookupSlot()); |