Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index 05cc23a71d952cb4e4727d2237c2780c06faa0d5..509658e15590fd36938bcee895cb7ea6eccd0ccd 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -145,9 +145,9 @@ void RelocInfo::set_target_object(Object* target, WriteBarrierMode mode) { |
} |
-Address* RelocInfo::target_reference_address() { |
+Address RelocInfo::target_reference() { |
ASSERT(rmode_ == RelocInfo::EXTERNAL_REFERENCE); |
- return reinterpret_cast<Address*>(pc_); |
+ return Memory::Address_at(pc_); |
} |