Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index afac886c730e12fb6b26fe0b9746144987ecc933..1f47c89ce7091a5271b9557f0a72c673bf86e0ea 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -309,9 +309,9 @@ Object** RelocInfo::target_object_address() { |
} |
-Address* RelocInfo::target_reference_address() { |
+Address RelocInfo::target_reference() { |
ASSERT(rmode_ == RelocInfo::EXTERNAL_REFERENCE); |
- return reinterpret_cast<Address*>(pc_); |
+ return Memory::Address_at(pc_); |
} |