diff options
Diffstat (limited to 'src/lj_bc.h')
-rw-r--r-- | src/lj_bc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lj_bc.h b/src/lj_bc.h index ba868283..837316d5 100644 --- a/src/lj_bc.h +++ b/src/lj_bc.h | |||
@@ -154,6 +154,8 @@ | |||
154 | _(CALLMT, base, ___, lit, call) \ | 154 | _(CALLMT, base, ___, lit, call) \ |
155 | _(CALLT, base, ___, lit, call) \ | 155 | _(CALLT, base, ___, lit, call) \ |
156 | _(ITERC, base, lit, lit, call) \ | 156 | _(ITERC, base, lit, lit, call) \ |
157 | _(ITERN, base, lit, lit, call) \ | ||
158 | _(ISNEXT, base, ___, jump, ___) \ | ||
157 | _(VARG, base, lit, lit, ___) \ | 159 | _(VARG, base, lit, lit, ___) \ |
158 | \ | 160 | \ |
159 | /* Returns. */ \ | 161 | /* Returns. */ \ |
@@ -221,6 +223,9 @@ LJ_STATIC_ASSERT((int)BC_FUNCF + 2 == (int)BC_JFUNCF); | |||
221 | LJ_STATIC_ASSERT((int)BC_FUNCV + 1 == (int)BC_IFUNCV); | 223 | LJ_STATIC_ASSERT((int)BC_FUNCV + 1 == (int)BC_IFUNCV); |
222 | LJ_STATIC_ASSERT((int)BC_FUNCV + 2 == (int)BC_JFUNCV); | 224 | LJ_STATIC_ASSERT((int)BC_FUNCV + 2 == (int)BC_JFUNCV); |
223 | 225 | ||
226 | /* This solves a circular dependency problem, change as needed. */ | ||
227 | #define FF_next_N 15 | ||
228 | |||
224 | /* Stack slots used by FORI/FORL, relative to operand A. */ | 229 | /* Stack slots used by FORI/FORL, relative to operand A. */ |
225 | enum { | 230 | enum { |
226 | FORL_IDX, FORL_STOP, FORL_STEP, FORL_EXT | 231 | FORL_IDX, FORL_STOP, FORL_STEP, FORL_EXT |