Index: src/arm/assembler-arm.h |
=================================================================== |
--- src/arm/assembler-arm.h (revision 3115) |
+++ src/arm/assembler-arm.h (working copy) |
@@ -437,6 +437,11 @@ |
INLINE(static Address target_address_at(Address pc)); |
INLINE(static void set_target_address_at(Address pc, Address target)); |
+ // Here we are patching the address in the constant pool, not the actual call |
+ // instruction. The address in the constant pool is the same size as a |
+ // pointer. |
+ static const int kCallTargetSize = kPointerSize; |
+ |
// Size of an instruction. |
static const int kInstrSize = sizeof(Instr); |