Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 3399958ee3d1767b8f753b8a4309a6c24f15ffd9..e388ed5b9f3131f84d868c6af014a6374a6b66c2 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -113,6 +113,13 @@ Address RelocInfo::target_address_address() { |
} |
+Address RelocInfo::constant_pool_entry_address() { |
+ ASSERT(IsInConstantPool()); |
+ ASSERT(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); |
+ return Assembler::target_pointer_address_at(pc_); |
+} |
+ |
+ |
int RelocInfo::target_address_size() { |
return kPointerSize; |
} |