about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ldo.c4
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);