Skip to content

Commit

Permalink
Add "proto" field to jit.util.funcinfo().
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Dec 13, 2016
1 parent 4ccd876 commit 1973807
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib_jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ LJLIB_CF(jit_util_funcinfo)
lua_setfield(L, -2, "source");
lj_debug_pushloc(L, pt, pc);
lua_setfield(L, -2, "loc");
setprotoV(L, lj_tab_setstr(L, t, lj_str_newlit(L, "proto")), pt);
} else {
GCfunc *fn = funcV(L->base);
GCtab *t;
Expand Down

0 comments on commit 1973807

Please sign in to comment.