Index: src/a64/assembler-a64-inl.h |
diff --git a/src/a64/assembler-a64-inl.h b/src/a64/assembler-a64-inl.h |
index e68dee073822f0c56e03b05c19ec44a35f305951..b82464c0c52f9ca3a5b94aa97d21b3d7c62b60d3 100644 |
--- a/src/a64/assembler-a64-inl.h |
+++ b/src/a64/assembler-a64-inl.h |
@@ -649,6 +649,12 @@ Address RelocInfo::target_address_address() { |
} |
+Address RelocInfo::constant_pool_entry_address() { |
+ ASSERT(IsInConstantPool()); |
+ return Assembler::target_pointer_address_at(pc_); |
+} |
+ |
+ |
Object* RelocInfo::target_object() { |
ASSERT(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
return reinterpret_cast<Object*>(Assembler::target_address_at(pc_)); |