aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-08 13:55:43 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-09-08 13:55:43 -0300
commit53be1451a850c28b9bc1e4583dccd4ecbb4478b6 (patch)
tree9247a1865eeb6f3306f165a5c96a5e8226ef0369
parenteb0be12cebfd43e09653d73aa117f16919c34fcd (diff)
downloadlua-53be1451a850c28b9bc1e4583dccd4ecbb4478b6.tar.gz
lua-53be1451a850c28b9bc1e4583dccd4ecbb4478b6.tar.bz2
lua-53be1451a850c28b9bc1e4583dccd4ecbb4478b6.zip
new definition for macro 'checkliveness'
-rw-r--r--ltests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltests.c b/ltests.c
index b87f7904..e7af4cb0 100644
--- a/ltests.c
+++ b/ltests.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.c,v 2.206 2015/06/18 14:25:26 roberto Exp roberto $ 2** $Id: ltests.c,v 2.207 2015/07/01 17:47:12 roberto Exp roberto $
3** Internal Module for Debugging of the Lua Implementation 3** Internal Module for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -313,7 +313,7 @@ static void checkstack (global_State *g, lua_State *L1) {
313 } 313 }
314 if (L1->stack) { /* complete thread? */ 314 if (L1->stack) { /* complete thread? */
315 for (o = L1->stack; o < L1->stack_last + EXTRA_STACK; o++) 315 for (o = L1->stack; o < L1->stack_last + EXTRA_STACK; o++)
316 checkliveness(g, o); /* entire stack must have valid values */ 316 checkliveness(L1, o); /* entire stack must have valid values */
317 } 317 }
318 else lua_assert(L1->stacksize == 0); 318 else lua_assert(L1->stacksize == 0);
319} 319}