Index: src/macro-assembler-arm.cc |
=================================================================== |
--- src/macro-assembler-arm.cc (revision 719) |
+++ src/macro-assembler-arm.cc (working copy) |
@@ -818,7 +818,8 @@ |
int argc = Builtins::GetArgumentsCount(id); |
uint32_t flags = |
Bootstrapper::FixupFlagsArgumentsCount::encode(argc) | |
- Bootstrapper::FixupFlagsIsPCRelative::encode(true); |
+ Bootstrapper::FixupFlagsIsPCRelative::encode(true) | |
+ Bootstrapper::FixupFlagsUseCodeObject::encode(false); |
Unresolved entry = { pc_offset() - sizeof(Instr), flags, name }; |
unresolved_.Add(entry); |
} |
@@ -835,10 +836,13 @@ |
int argc = Builtins::GetArgumentsCount(id); |
uint32_t flags = |
Bootstrapper::FixupFlagsArgumentsCount::encode(argc) | |
- Bootstrapper::FixupFlagsIsPCRelative::encode(true); |
+ Bootstrapper::FixupFlagsIsPCRelative::encode(true) | |
+ Bootstrapper::FixupFlagsUseCodeObject::encode(true); |
Unresolved entry = { pc_offset() - sizeof(Instr), flags, name }; |
unresolved_.Add(entry); |
} |
+ |
+ add(target, target, Operand(Code::kHeaderSize - kHeapObjectTag)); |
} |