Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index f04316c3b2098f3f6148d7a143b00883b3cbc8b4..91db4c61f962fd032506dd0e4f2a9f9563f60624 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -593,9 +593,7 @@ static void Generate_JSEntryTrampolineHelper(MacroAssembler* masm, |
CallConstructStub stub(masm->isolate(), NO_CALL_CONSTRUCTOR_FLAGS); |
__ CallStub(&stub); |
} else { |
- ParameterCount actual(rax); |
- // Function must be in rdi. |
- __ InvokeFunction(rdi, actual, CALL_FUNCTION, NullCallWrapper()); |
+ __ Call(masm->isolate()->builtins()->Call(), RelocInfo::CODE_TARGET); |
} |
// Exit the internal frame. Notice that this also removes the empty |
// context and the function left on the stack by the code |