Index: src/x64/builtins-x64.cc |
=================================================================== |
--- src/x64/builtins-x64.cc (revision 5298) |
+++ src/x64/builtins-x64.cc (working copy) |
@@ -310,8 +310,7 @@ |
__ movsxlq(rbx, |
FieldOperand(rdx, |
SharedFunctionInfo::kFormalParameterCountOffset)); |
- __ movq(rdx, FieldOperand(rdi, JSFunction::kCodeOffset)); |
- __ lea(rdx, FieldOperand(rdx, Code::kHeaderSize)); |
+ __ movq(rdx, FieldOperand(rdi, JSFunction::kCodeEntryOffset)); |
__ cmpq(rax, rbx); |
__ j(not_equal, |
Handle<Code>(builtin(ArgumentsAdaptorTrampoline)), |