Index: src/mips/full-codegen-mips.cc |
diff --git a/src/mips/full-codegen-mips.cc b/src/mips/full-codegen-mips.cc |
index b1c8edcbec74a1d352e14a9e3c4acfa9eff9d6c8..e88984ebd5037154fe44c47aa5e4f693ba0b7093 100644 |
--- a/src/mips/full-codegen-mips.cc |
+++ b/src/mips/full-codegen-mips.cc |
@@ -2600,7 +2600,7 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
Label entry, loop; |
// The use of t2 to store the valueOf symbol asumes that it is not otherwise |
// used in the loop below. |
- __ li(t2, Operand(FACTORY->value_of_symbol())); |
+ __ LoadRoot(t2, Heap::kvalue_of_symbolRootIndex); |
__ jmp(&entry); |
__ bind(&loop); |
__ lw(a3, MemOperand(t0, 0)); |