Merge branch 'master' into v2.1

This commit is contained in:
Mike Pall
2014-01-20 16:59:04 +01:00
4 changed files with 6 additions and 4 deletions

View File

@@ -2305,7 +2305,7 @@ static const BCIns *rec_setup_root(jit_State *J)
case BC_RET0:
case BC_RET1:
/* No bytecode range check for down-recursive root traces. */
J->maxslot = ra + bc_d(ins);
J->maxslot = ra + bc_d(ins) - 1;
break;
case BC_FUNCF:
/* No bytecode range check for root traces started by a hot call. */