diff options
author | Mike Pall <mike> | 2011-06-09 13:54:40 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-06-09 13:54:40 +0200 |
commit | b6a7fc5330040564d507eb836ea524acf1c8a759 (patch) | |
tree | 656de84811ed3ccba248f55f8eae2a83b39fa435 /src/lib_jit.c | |
parent | 96cc99bd6a3f3316202f3d943d82500d8293577a (diff) | |
download | luajit-b6a7fc5330040564d507eb836ea524acf1c8a759.tar.gz luajit-b6a7fc5330040564d507eb836ea524acf1c8a759.tar.bz2 luajit-b6a7fc5330040564d507eb836ea524acf1c8a759.zip |
Cleanup prototype flags.
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 818b8787..31b27ccb 100644 --- a/src/lib_jit.c +++ b/src/lib_jit.c | |||
@@ -191,7 +191,7 @@ LJLIB_CF(jit_util_funcinfo) | |||
191 | setintfield(L, t, "upvalues", (int32_t)pt->sizeuv); | 191 | setintfield(L, t, "upvalues", (int32_t)pt->sizeuv); |
192 | if (pc < pt->sizebc) | 192 | if (pc < pt->sizebc) |
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_IS_VARARG)); | 194 | lua_pushboolean(L, (pt->flags & PROTO_VARARG)); |
195 | lua_setfield(L, -2, "isvararg"); | 195 | lua_setfield(L, -2, "isvararg"); |
196 | setstrV(L, L->top++, proto_chunkname(pt)); | 196 | setstrV(L, L->top++, proto_chunkname(pt)); |
197 | lua_setfield(L, -2, "source"); | 197 | lua_setfield(L, -2, "source"); |