Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index ef65b31c541f4b93ff5273a2f941e4580811f520..ca25d6ea554d94811cb7146501b7c5713a513a9c 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3468,7 +3468,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); |
__ jmp(&entry); |
__ bind(&loop); |
__ ldr(r3, MemOperand(r4, 0)); |