From: Mike Pall Date: Sat, 27 Dec 2014 05:06:07 +0000 (+0100) Subject: MIPS: Fix excess stack growth in interpreter. X-Git-Tag: v2.0.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f45d11e2fea7a56dcf699e72dee40b475590128c;p=thirdparty%2FLuaJIT.git MIPS: Fix excess stack growth in interpreter. --- diff --git a/src/vm_mips.dasc b/src/vm_mips.dasc index 0ec13e60..96f20659 100644 --- a/src/vm_mips.dasc +++ b/src/vm_mips.dasc @@ -398,7 +398,7 @@ static void build_subroutines(BuildCtx *ctx) | // - A return back from a lua_call() with (high) nresults adjustment. | load_got lj_state_growstack | move MULTRES, RD - | move CARG2, TMP2 + | srl CARG2, TMP2, 3 | call_intern lj_state_growstack // (lua_State *L, int n) |. move CARG1, L | lw TMP2, SAVE_NRES