summaryrefslogtreecommitdiff
path: root/src/lib_jit.c
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-09 13:54:40 +0200
committerMike Pall <mike>2011-06-09 13:54:40 +0200
commitb6a7fc5330040564d507eb836ea524acf1c8a759 (patch)
tree656de84811ed3ccba248f55f8eae2a83b39fa435 /src/lib_jit.c
parent96cc99bd6a3f3316202f3d943d82500d8293577a (diff)
downloadluajit2-b6a7fc5330040564d507eb836ea524acf1c8a759.tar.gz
Cleanup prototype flags.
Diffstat (limited to 'src/lib_jit.c')
-rw-r--r--src/lib_jit.c2
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");