diff options
author | Mike Pall <mike> | 2010-01-28 04:29:15 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-01-28 04:29:15 +0100 |
commit | 272b2f7368464917919ddd1c7a876937144c16c8 (patch) | |
tree | 8728dc42afcef2ebd7d714fe27e237ac0da66669 /src | |
parent | 2ed0bb7f1edd189f8af9a5420be9b0718eadcbd5 (diff) | |
download | luajit-272b2f7368464917919ddd1c7a876937144c16c8.tar.gz luajit-272b2f7368464917919ddd1c7a876937144c16c8.tar.bz2 luajit-272b2f7368464917919ddd1c7a876937144c16c8.zip |
Followup fix: set maxslot for continuation return.
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_record.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c index f24c287d..a82bb643 100644 --- a/src/lj_record.c +++ b/src/lj_record.c | |||
@@ -1533,6 +1533,7 @@ static void rec_ret(jit_State *J, BCReg rbase, int gotresults) | |||
1533 | J->pc = frame_contpc(frame)-1; | 1533 | J->pc = frame_contpc(frame)-1; |
1534 | J->baseslot -= (BCReg)cbase; | 1534 | J->baseslot -= (BCReg)cbase; |
1535 | J->base -= cbase; | 1535 | J->base -= cbase; |
1536 | J->maxslot = cbase-2; | ||
1536 | if (cont == lj_cont_ra) { | 1537 | if (cont == lj_cont_ra) { |
1537 | /* Copy result to destination slot. */ | 1538 | /* Copy result to destination slot. */ |
1538 | BCReg dst = bc_a(*J->pc); | 1539 | BCReg dst = bc_a(*J->pc); |