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 ca2e196119322a85613f17c5e339bbd3a46e7c7f..50d27f4f595f7b862d7639ff1c20dab5d32aae38 100644 |
--- a/src/full-codegen/s390/full-codegen-s390.cc |
+++ b/src/full-codegen/s390/full-codegen-s390.cc |
@@ -1346,8 +1346,10 @@ void FullCodeGenerator::VisitObjectLiteral(ObjectLiteral* expr) { |
__ Push(r5, r4, r3, r2); |
__ CallRuntime(Runtime::kCreateObjectLiteral); |
} else { |
+ __ push(cp); |
FastCloneShallowObjectStub stub(isolate(), expr->properties_count()); |
__ CallStub(&stub); |
+ __ pop(cp); |
} |
PrepareForBailoutForId(expr->CreateLiteralId(), TOS_REG); |