diff options
author | Mike Pall <mike> | 2010-02-08 20:17:34 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-08 20:17:34 +0100 |
commit | d5a46621f9d1299a7e5c06c59dfc02d61dc04a79 (patch) | |
tree | 633176c0dcd40cf0f67acd27f67c1338cb435e8f /src/lib_jit.c | |
parent | 2ddea3838d476975453973a8164f99699dd78ee0 (diff) | |
download | luajit-d5a46621f9d1299a7e5c06c59dfc02d61dc04a79.tar.gz luajit-d5a46621f9d1299a7e5c06c59dfc02d61dc04a79.tar.bz2 luajit-d5a46621f9d1299a7e5c06c59dfc02d61dc04a79.zip |
Drop bc field in GCproto since the bytecode is colocated.
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); |