Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 634ccdbd2c578e18a16f164f16ba939e91a9e51b..c9b11ba4cb1debebae95c721d5251741c139538b 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3461,7 +3461,7 @@ void FullCodeGenerator::EmitIsStringWrapperSafeForDefaultValueOf( |
// string "valueOf" the result is false. |
// The use of ip to store the valueOf string assumes that it is not otherwise |
// used in the loop below. |
- __ mov(ip, Operand(isolate()->factory()->value_of_string())); |
+ __ LoadRoot(ip, Heap::kvalueOf_stringRootIndex); |
__ b(&entry); |
__ bind(&loop); |
__ LoadP(r6, MemOperand(r7, 0)); |