Index: src/arm/stub-cache-arm.cc |
diff --git a/src/arm/stub-cache-arm.cc b/src/arm/stub-cache-arm.cc |
index 1ede12ce69b7ae313d0a6f90ebf03d9607aa4853..912caed108290700c72204f38f7cd1b0be7dfa54 100644 |
--- a/src/arm/stub-cache-arm.cc |
+++ b/src/arm/stub-cache-arm.cc |
@@ -1433,9 +1433,9 @@ void BaseLoadStubCompiler::GenerateLoadCallback( |
__ Move(scratch3(), Handle<Object>(callback->data(), isolate())); |
} |
__ Push(reg, scratch3()); |
- __ mov(scratch3(), |
+ __ LoadRoot(scratch3(), Heap::kUndefinedValueRootIndex); |
+ __ mov(scratch4(), |
Operand(ExternalReference::isolate_address(isolate()))); |
- __ LoadRoot(scratch4(), Heap::kUndefinedValueRootIndex); |
__ Push(scratch3(), scratch4(), name()); |
__ mov(r0, sp); // r0 = Handle<Name> |
@@ -1462,7 +1462,7 @@ void BaseLoadStubCompiler::GenerateLoadCallback( |
__ CallApiFunctionAndReturn(ref, |
kStackUnwindSpace, |
returns_handle, |
- 3); |
+ 4); |
} |