diff options
-rw-r--r-- | src/lj_snap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c index 5fc90d8c..9124b789 100644 --- a/src/lj_snap.c +++ b/src/lj_snap.c | |||
@@ -193,6 +193,7 @@ static BCReg snap_usedef(jit_State *J, uint8_t *udf, | |||
193 | BCReg minslot = bc_a(ins); | 193 | BCReg minslot = bc_a(ins); |
194 | if (op >= BC_FORI && op <= BC_JFORL) minslot += FORL_EXT; | 194 | if (op >= BC_FORI && op <= BC_JFORL) minslot += FORL_EXT; |
195 | else if (op >= BC_ITERL && op <= BC_JITERL) minslot += bc_b(pc[-1])-1; | 195 | else if (op >= BC_ITERL && op <= BC_JITERL) minslot += bc_b(pc[-1])-1; |
196 | else if (op == BC_UCLO) { pc += bc_j(ins); break; } | ||
196 | for (s = minslot; s < maxslot; s++) DEF_SLOT(s); | 197 | for (s = minslot; s < maxslot; s++) DEF_SLOT(s); |
197 | return minslot < maxslot ? minslot : maxslot; | 198 | return minslot < maxslot ? minslot : maxslot; |
198 | } | 199 | } |