diff options
Diffstat (limited to 'src/lib_jit.c')
-rw-r--r-- | src/lib_jit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_jit.c b/src/lib_jit.c index 33571b17..fb551315 100644 --- a/src/lib_jit.c +++ b/src/lib_jit.c | |||
@@ -210,7 +210,7 @@ LJLIB_CF(jit_util_funcbc) | |||
210 | GCproto *pt = check_Lproto(L, 0); | 210 | GCproto *pt = check_Lproto(L, 0); |
211 | BCPos pc = (BCPos)lj_lib_checkint(L, 2) - 1; | 211 | BCPos pc = (BCPos)lj_lib_checkint(L, 2) - 1; |
212 | if (pc < pt->sizebc) { | 212 | if (pc < pt->sizebc) { |
213 | BCIns ins = proto_ins(pt, pc); | 213 | BCIns ins = proto_bc(pt)[pc]; |
214 | BCOp op = bc_op(ins); | 214 | BCOp op = bc_op(ins); |
215 | lua_assert(op < BC__MAX); | 215 | lua_assert(op < BC__MAX); |
216 | setintV(L->top, ins); | 216 | setintV(L->top, ins); |