Index: src/x64/builtins-x64.cc |
diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc |
index 66ac55670d0f4000ca596a7e09a6cd99f8cd6c72..d14a935543e1696a223b343aa37ab16892970c15 100644 |
--- a/src/x64/builtins-x64.cc |
+++ b/src/x64/builtins-x64.cc |
@@ -963,9 +963,8 @@ void Builtins::Generate_FunctionCall(MacroAssembler* masm) { |
// expected arguments matches what we're providing. If so, jump |
// (tail-call) to the code in register edx without checking arguments. |
__ movp(rdx, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset)); |
- __ movsxlq(rbx, |
- FieldOperand(rdx, |
- SharedFunctionInfo::kFormalParameterCountOffset)); |
+ __ LoadSharedFunctionInfoSpecialField(rbx, rdx, |
+ SharedFunctionInfo::kFormalParameterCountOffset); |
__ movp(rdx, FieldOperand(rdi, JSFunction::kCodeEntryOffset)); |
__ cmpp(rax, rbx); |
__ j(not_equal, |