Index: src/assembler.h |
diff --git a/src/assembler.h b/src/assembler.h |
index af8d82efd1e933abfb3b18f802278780ddeb9093..29f1ea9ff1a8999250561303885f78415edb3fa8 100644 |
--- a/src/assembler.h |
+++ b/src/assembler.h |
@@ -348,6 +348,19 @@ class RelocInfo BASE_EMBEDDED { |
byte* pc_; |
Mode rmode_; |
intptr_t data_; |
+#ifdef V8_TARGET_ARCH_MIPS |
+ // Code and Embedded Object pointers in mips are stored split |
+ // across two consecutive 32-bit instructions. Heap management |
+ // routines expect to access these pointers indirectly. The following |
+ // location provides a place for these pointers to exist natually |
+ // when accessed via the Iterator. |
+ Object *reconstructed_obj_ptr_; |
+ // External-reference pointers are also split across instruction-pairs |
+ // in mips, but are accessed via indirect pointers. This location |
+ // provides a place for that pointer to exist naturally. Its address |
+ // is returned by RelocInfo::target_reference_address(). |
+ Address reconstructed_adr_ptr_; |
+#endif // V8_TARGET_ARCH_MIPS |
friend class RelocIterator; |
}; |