Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index fb46362d41c367aaafc40e548e82859eace0a35c..0224f9d4939a69535669e704ce5d9029f6e082ac 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1055,9 +1055,9 @@ void CEntryStub::Generate(MacroAssembler* masm) { |
if (result_size() > 2) { |
DCHECK_EQ(3, result_size()); |
// Read result values stored on stack. |
- __ ldr(r2, MemOperand(r0, 2 * kPointerSize)); |
- __ ldr(r1, MemOperand(r0, 1 * kPointerSize)); |
- __ ldr(r0, MemOperand(r0, 0 * kPointerSize)); |
+ __ ldr(r2, MemOperand(sp, 2 * kPointerSize)); |
+ __ ldr(r1, MemOperand(sp, 1 * kPointerSize)); |
+ __ ldr(r0, MemOperand(sp, 0 * kPointerSize)); |
} |
// Result returned in r0, r1:r0 or r2:r1:r0 - do not destroy these registers! |