diff options
author | Mike Pall <mike> | 2014-12-27 06:06:07 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2014-12-27 06:06:07 +0100 |
commit | f45d11e2fea7a56dcf699e72dee40b475590128c (patch) | |
tree | 69a42ef995f3e49a4fe89d88a4d164a55a32ddb6 /src/vm_mips.dasc | |
parent | 6319e0312dd77ff0f59399a26ef96bfccacdf302 (diff) | |
download | luajit2-f45d11e2fea7a56dcf699e72dee40b475590128c.tar.gz |
MIPS: Fix excess stack growth in interpreter.
Diffstat (limited to 'src/vm_mips.dasc')
-rw-r--r-- | src/vm_mips.dasc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |