Index: src/builtins/arm64/builtins-arm64.cc |
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc |
index 48551dea0003dba9bb713db36bf7733dd001c19f..b815b85b878a6e3e6ead436447f722a94af83bfe 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -2512,8 +2512,8 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
__ Push(x0, x1); |
__ Mov(x0, x3); |
__ Push(cp); |
- ToObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToObject(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(cp); |
__ Mov(x3, x0); |
__ Pop(x1, x0); |