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 | luajit2-b6a7fc5330040564d507eb836ea524acf1c8a759.tar.gz |
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) setintfield(L, t, "upvalues", (int32_t)pt->sizeuv); if (pc < pt->sizebc) setintfield(L, t, "currentline", lj_debug_line(pt, pc)); - lua_pushboolean(L, (pt->flags & PROTO_IS_VARARG)); + lua_pushboolean(L, (pt->flags & PROTO_VARARG)); lua_setfield(L, -2, "isvararg"); setstrV(L, L->top++, proto_chunkname(pt)); lua_setfield(L, -2, "source"); |