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