Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index 91ae2c006bee03c0c2d6e4c0db25e739e23303c4..d533afd21c21c3d34c1e09a43e383441cb448eb1 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2516,8 +2516,8 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ Push(r2, r3); |
__ LoadRR(r2, r5); |
__ Push(cp); |
- ToObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToObject(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(cp); |
__ LoadRR(r5, r2); |
__ Pop(r2, r3); |