Index: src/x64/macro-assembler-x64.cc |
=================================================================== |
--- src/x64/macro-assembler-x64.cc (revision 2176) |
+++ src/x64/macro-assembler-x64.cc (working copy) |
@@ -531,8 +531,10 @@ |
ASSERT(function.is(rdi)); |
movq(rdx, FieldOperand(function, JSFunction::kSharedFunctionInfoOffset)); |
movq(rsi, FieldOperand(function, JSFunction::kContextOffset)); |
- movq(rbx, FieldOperand(rdx, SharedFunctionInfo::kFormalParameterCountOffset)); |
+ movl(rbx, FieldOperand(rdx, SharedFunctionInfo::kFormalParameterCountOffset)); |
movq(rdx, FieldOperand(rdx, SharedFunctionInfo::kCodeOffset)); |
+ // Advances rdx to the end of the Code object headers, to the start of |
Kevin Millikin (Chromium)
2009/06/16 08:27:03
headers ==> header
|
+ // the executable code. |
lea(rdx, FieldOperand(rdx, Code::kHeaderSize)); |
ParameterCount expected(rbx); |