Index: src/arm64/builtins-arm64.cc |
diff --git a/src/arm64/builtins-arm64.cc b/src/arm64/builtins-arm64.cc |
index 20f63f82c554a45ac95a53a967b639a2df41ef70..01eef050622f582a02d5be99b355dcce2f1d58ec 100644 |
--- a/src/arm64/builtins-arm64.cc |
+++ b/src/arm64/builtins-arm64.cc |
@@ -835,8 +835,7 @@ static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
CallConstructStub stub(masm->isolate(), NO_CALL_CONSTRUCTOR_FLAGS); |
__ CallStub(&stub); |
} else { |
- ParameterCount actual(x0); |
- __ InvokeFunction(function, actual, CALL_FUNCTION, NullCallWrapper()); |
+ __ Call(masm->isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); |
} |
// Exit the JS internal frame and remove the parameters (except function), |
// and return. |