aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lj_bc.h4
-rw-r--r--src/lj_dispatch.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lj_bc.h b/src/lj_bc.h
index 74b11698..ba868283 100644
--- a/src/lj_bc.h
+++ b/src/lj_bc.h
@@ -187,8 +187,8 @@
187 _(FUNCV, rbase, ___, ___, ___) \ 187 _(FUNCV, rbase, ___, ___, ___) \
188 _(IFUNCV, rbase, ___, ___, ___) \ 188 _(IFUNCV, rbase, ___, ___, ___) \
189 _(JFUNCV, rbase, ___, lit, ___) \ 189 _(JFUNCV, rbase, ___, lit, ___) \
190 _(FUNCC, ___, ___, ___, ___) \ 190 _(FUNCC, rbase, ___, ___, ___) \
191 _(FUNCCW, ___, ___, ___, ___) 191 _(FUNCCW, rbase, ___, ___, ___)
192 192
193/* Bytecode opcode numbers. */ 193/* Bytecode opcode numbers. */
194typedef enum { 194typedef enum {
diff --git a/src/lj_dispatch.c b/src/lj_dispatch.c
index 1a483b5a..5ced161b 100644
--- a/src/lj_dispatch.c
+++ b/src/lj_dispatch.c
@@ -40,7 +40,7 @@ void lj_dispatch_init(GG_State *GG)
40 disp[BC_LOOP] = disp[BC_ILOOP]; 40 disp[BC_LOOP] = disp[BC_ILOOP];
41 disp[BC_FUNCF] = disp[BC_IFUNCF]; 41 disp[BC_FUNCF] = disp[BC_IFUNCF];
42 disp[BC_FUNCV] = disp[BC_IFUNCV]; 42 disp[BC_FUNCV] = disp[BC_IFUNCV];
43 GG->g.bc_cfunc_ext = GG->g.bc_cfunc_int = BCINS_AD(BC_FUNCC, 0, 0); 43 GG->g.bc_cfunc_ext = GG->g.bc_cfunc_int = BCINS_AD(BC_FUNCC, LUA_MINSTACK, 0);
44 for (i = 0; i < GG_NUM_ASMFF; i++) 44 for (i = 0; i < GG_NUM_ASMFF; i++)
45 GG->bcff[i] = BCINS_AD(BC__MAX+i, 0, 0); 45 GG->bcff[i] = BCINS_AD(BC__MAX+i, 0, 0);
46} 46}