use r6 instead of r0 in popFrameAndUpdateStackAndReturn

This avoids clobbering the return value.
This commit is contained in:
Joel Dice 2010-08-30 16:16:02 +01:00
parent f740570ff6
commit 56b59cef5c

View File

@ -2066,7 +2066,7 @@ class MyAssembler: public Assembler {
{ {
popFrame(); popFrame();
Register tmp1(0); Register tmp1(6);
Memory stackSrc(StackRegister, 0); Memory stackSrc(StackRegister, 0);
moveMR(&c, BytesPerWord, &stackSrc, BytesPerWord, &tmp1); moveMR(&c, BytesPerWord, &stackSrc, BytesPerWord, &tmp1);