diff options
author | Mike Pall <mike> | 2011-06-12 23:51:13 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-12 23:51:13 +0200 |
commit | 9da94d135535c607d71a5d7e902b561ee418f0ca (patch) | |
tree | 2cb9e011046e4294650fb7e909b806fddc2f10c3 /src | |
parent | 0c8696dfbf5a42a87a65f7b911ba2bc31a6a942c (diff) | |
download | luajit-9da94d135535c607d71a5d7e902b561ee418f0ca.tar.gz luajit-9da94d135535c607d71a5d7e902b561ee418f0ca.tar.bz2 luajit-9da94d135535c607d71a5d7e902b561ee418f0ca.zip |
Add recursive dump option to jit.bc.dump().
Diffstat (limited to 'src')
-rw-r--r-- | src/lib_jit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib_jit.c b/src/lib_jit.c index 31b27ccb..66b3856a 100644 --- a/src/lib_jit.c +++ b/src/lib_jit.c | |||
@@ -193,6 +193,8 @@ LJLIB_CF(jit_util_funcinfo) | |||
193 | setintfield(L, t, "currentline", lj_debug_line(pt, pc)); | 193 | setintfield(L, t, "currentline", lj_debug_line(pt, pc)); |
194 | lua_pushboolean(L, (pt->flags & PROTO_VARARG)); | 194 | lua_pushboolean(L, (pt->flags & PROTO_VARARG)); |
195 | lua_setfield(L, -2, "isvararg"); | 195 | lua_setfield(L, -2, "isvararg"); |
196 | lua_pushboolean(L, (pt->flags & PROTO_CHILD)); | ||
197 | lua_setfield(L, -2, "children"); | ||
196 | setstrV(L, L->top++, proto_chunkname(pt)); | 198 | setstrV(L, L->top++, proto_chunkname(pt)); |
197 | lua_setfield(L, -2, "source"); | 199 | lua_setfield(L, -2, "source"); |
198 | lj_debug_pushloc(L, pt, pc); | 200 | lj_debug_pushloc(L, pt, pc); |