PPC: Fix excess stack growth in interpreter.

This commit is contained in:
Mike Pall 2014-12-27 06:05:50 +01:00
parent 16f910b4a8
commit 6319e0312d

View File

@ -586,7 +586,7 @@ static void build_subroutines(BuildCtx *ctx)
| // - A return back from a lua_call() with (high) nresults adjustment.
| stp BASE, L->top // Save current top held in BASE (yes).
| mr SAVE0, RD
| mr CARG2, TMP2
| srwi CARG2, TMP2, 3
| mr CARG1, L
| bl extern lj_state_growstack // (lua_State *L, int n)
| lwz TMP2, SAVE_NRES