Index: src/mips/macro-assembler-mips.h |
=================================================================== |
--- src/mips/macro-assembler-mips.h (revision 10353) |
+++ src/mips/macro-assembler-mips.h (working copy) |
@@ -671,6 +671,11 @@ |
void DebugBreak(); |
#endif |
+ void InitializeRootRegister() { |
+ ExternalReference roots_address = |
+ ExternalReference::roots_address(isolate()); |
+ li(kRootRegister, Operand(roots_address)); |
+ } |
// ------------------------------------------------------------------------- |
// Exception handling. |