From 56b59cef5c5c0d19bc988fb1d0d234bcc929b2ff Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Mon, 30 Aug 2010 16:16:02 +0100 Subject: [PATCH] use r6 instead of r0 in popFrameAndUpdateStackAndReturn This avoids clobbering the return value. --- src/arm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arm.cpp b/src/arm.cpp index 564e3b9f23..266f95ed97 100644 --- a/src/arm.cpp +++ b/src/arm.cpp @@ -2066,7 +2066,7 @@ class MyAssembler: public Assembler { { popFrame(); - Register tmp1(0); + Register tmp1(6); Memory stackSrc(StackRegister, 0); moveMR(&c, BytesPerWord, &stackSrc, BytesPerWord, &tmp1);