Index: src/arm/assembler-arm-inl.h |
=================================================================== |
--- src/arm/assembler-arm-inl.h (revision 12224) |
+++ src/arm/assembler-arm-inl.h (working copy) |
@@ -141,10 +141,7 @@ |
JSGlobalPropertyCell* RelocInfo::target_cell() { |
ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
- Address address = Memory::Address_at(pc_); |
- Object* object = HeapObject::FromAddress( |
- address - JSGlobalPropertyCell::kValueOffset); |
- return reinterpret_cast<JSGlobalPropertyCell*>(object); |
+ return JSGlobalPropertyCell::FromValueAddress(Memory::Address_at(pc_)); |
} |