diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-01-03 13:24:01 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-01-03 13:24:01 -0800 |
commit | f6cf8f801cd23d2f4d4f68c030e97fde62fc51cf (patch) | |
tree | 831e1d1ca23b3624ea8011dee4fc3d61acce8e97 /src | |
parent | 14ab0729c9188bc96f80a9d3752b3c53ab5d6cf7 (diff) | |
download | teliva-f6cf8f801cd23d2f4d4f68c030e97fde62fc51cf.tar.gz |
rename
Diffstat (limited to 'src')
-rw-r--r-- | src/ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldo.c b/src/ldo.c index 2abd935..de2ccdd 100644 --- a/src/ldo.c +++ b/src/ldo.c @@ -261,7 +261,7 @@ static StkId tryfuncTM (lua_State *L, StkId func) { extern Instruction symbexec (const Proto *pt, int lastpc, int reg); extern int luaL_newmetatable (lua_State *L, const char *tname); extern void endwin (void); -void record_depth_of_global_function (lua_State *L, CallInfo *ci) { +void record_metadata_about_function_call (lua_State *L, CallInfo *ci) { if (!isLua(ci)) return; if (ci->tailcalls > 0) @@ -327,7 +327,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { for (st = L->top; st < ci->top; st++) setnilvalue(st); L->top = ci->top; - record_depth_of_global_function(L, ci); + record_metadata_about_function_call(L, ci); if (L->hookmask & LUA_MASKCALL) { L->savedpc++; /* hooks assume 'pc' is already incremented */ luaD_callhook(L, LUA_HOOKCALL, -1); |