aboutsummaryrefslogtreecommitdiff
path: root/ldebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldebug.c')
-rw-r--r--ldebug.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/ldebug.c b/ldebug.c
index f99dfd75..c9b045bc 100644
--- a/ldebug.c
+++ b/ldebug.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldebug.c,v 1.64 2001/02/16 17:58:27 roberto Exp roberto $ 2** $Id: ldebug.c,v 1.65 2001/02/20 18:15:33 roberto Exp roberto $
3** Debug Interface 3** Debug Interface
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -433,7 +433,7 @@ static Instruction luaG_symbexec (lua_State *L, const Proto *pt,
433 break; 433 break;
434 } 434 }
435 case OP_PUSHUPVALUE: { 435 case OP_PUSHUPVALUE: {
436 /* ?? */ 436 check(arg1 < pt->nupvalues);
437 break; 437 break;
438 } 438 }
439 case OP_GETLOCAL: 439 case OP_GETLOCAL:
@@ -462,7 +462,8 @@ static Instruction luaG_symbexec (lua_State *L, const Proto *pt,
462 break; 462 break;
463 } 463 }
464 case OP_CLOSURE: { 464 case OP_CLOSURE: {
465 /* ?? */ 465 check(arg1 < pt->sizekproto);
466 check(arg2 == pt->kproto[arg1]->nupvalues);
466 pop = arg2; 467 pop = arg2;
467 break; 468 break;
468 } 469 }