Index: src/ia32/assembler-ia32-inl.h |
=================================================================== |
--- src/ia32/assembler-ia32-inl.h (revision 12224) |
+++ src/ia32/assembler-ia32-inl.h (working copy) |
@@ -150,10 +150,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_)); |
} |