Index: src/ia32/builtins-ia32.cc |
=================================================================== |
--- src/ia32/builtins-ia32.cc (revision 5298) |
+++ src/ia32/builtins-ia32.cc (working copy) |
@@ -567,9 +567,8 @@ |
__ mov(edx, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset)); |
__ mov(ebx, |
FieldOperand(edx, SharedFunctionInfo::kFormalParameterCountOffset)); |
+ __ mov(edx, FieldOperand(edi, JSFunction::kCodeEntryOffset)); |
__ SmiUntag(ebx); |
- __ mov(edx, FieldOperand(edi, JSFunction::kCodeOffset)); |
- __ lea(edx, FieldOperand(edx, Code::kHeaderSize)); |
__ cmp(eax, Operand(ebx)); |
__ j(not_equal, Handle<Code>(builtin(ArgumentsAdaptorTrampoline))); |