Index: src/arm/assembler-arm-inl.h |
=================================================================== |
--- src/arm/assembler-arm-inl.h (revision 3020) |
+++ src/arm/assembler-arm-inl.h (working copy) |
@@ -81,10 +81,16 @@ |
Object* RelocInfo::target_object() { |
ASSERT(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
- return reinterpret_cast<Object*>(Assembler::target_address_at(pc_)); |
+ return Memory::Object_at(Assembler::target_address_address_at(pc_)); |
} |
+Handle<Object> RelocInfo::target_object_handle(Assembler *origin) { |
+ ASSERT(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
+ return Memory::Object_Handle_at(Assembler::target_address_address_at(pc_)); |
+} |
+ |
+ |
Object** RelocInfo::target_object_address() { |
ASSERT(IsCodeTarget(rmode_) || rmode_ == EMBEDDED_OBJECT); |
return reinterpret_cast<Object**>(Assembler::target_address_address_at(pc_)); |