aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Pall <mike>2019-08-10 00:58:37 +0200
committerMike Pall <mike>2019-08-10 00:58:37 +0200
commit2bde5c7c62e627f10cba1612b58447b4e84b7ac8 (patch)
tree14f96deeb096cf14b6b790049c95aeea9ec51766
parentb1915c3b6f6f1c020aa3433a9505be7031db41a9 (diff)
parent0cd643d7cfc21bc8b6153d42b86a71d557270988 (diff)
downloadluajit-2bde5c7c62e627f10cba1612b58447b4e84b7ac8.tar.gz
luajit-2bde5c7c62e627f10cba1612b58447b4e84b7ac8.tar.bz2
luajit-2bde5c7c62e627f10cba1612b58447b4e84b7ac8.zip
Merge branch 'master' into v2.1
-rw-r--r--src/lj_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_debug.c b/src/lj_debug.c
index 959dc289..8fe11b98 100644
--- a/src/lj_debug.c
+++ b/src/lj_debug.c
@@ -429,7 +429,7 @@ int lj_debug_getinfo(lua_State *L, const char *what, lj_Debug *ar, int ext)
429 GCfunc *fn; 429 GCfunc *fn;
430 if (*what == '>') { 430 if (*what == '>') {
431 TValue *func = L->top - 1; 431 TValue *func = L->top - 1;
432 api_check(L, tvisfunc(func)); 432 if (!tvisfunc(func)) return 0;
433 fn = funcV(func); 433 fn = funcV(func);
434 L->top--; 434 L->top--;
435 what++; 435 what++;