Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 8542cc4699291a1333c9205c8e5f1103bea72bcd..708bc965d2e0ac6e70e1244bc1c60b8c28e9bd7d 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2471,8 +2471,10 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ SmiTag(r2); |
__ Push(r2, r3); |
__ LoadRR(r2, r5); |
+ __ Push(cp); |
ToObjectStub stub(masm->isolate()); |
__ CallStub(&stub); |
+ __ Pop(cp); |
__ LoadRR(r5, r2); |
__ Pop(r2, r3); |
__ SmiUntag(r2); |