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