Index: src/ia32/assembler-ia32-inl.h |
=================================================================== |
--- src/ia32/assembler-ia32-inl.h (revision 13870) |
+++ src/ia32/assembler-ia32-inl.h (working copy) |
@@ -149,6 +149,19 @@ |
} |
+Address RelocInfo::target_runtime_entry(Assembler* origin, intptr_t delta) { |
+ ASSERT(IsRuntimeEntry(rmode_)); |
+ return target_address() - delta; |
+} |
+ |
+ |
+void RelocInfo::set_target_runtime_entry(Address target, |
+ WriteBarrierMode mode) { |
+ ASSERT(IsRuntimeEntry(rmode_)); |
+ if (target_address() != target) set_target_address(target, mode); |
+} |
+ |
+ |
Handle<JSGlobalPropertyCell> RelocInfo::target_cell_handle() { |
ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
Address address = Memory::Address_at(pc_); |