From 9d7bae0b6ab66e7e0cff8871e65ecddb55513d6b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Feb 1999 14:55:51 -0300 Subject: better instrumentation for internal debugging --- lopcodes.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 886d31d1..f1d6a2e1 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.25 1999/02/09 18:01:55 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.26 1999/02/23 13:38:38 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -107,7 +107,9 @@ SETLINEW,/* w - - LINE=w */ SETLINE,/* b - - LINE=b */ LONGARGW,/* w (add w*(1<<16) to arg of next instruction) */ -LONGARG /* b (add b*(1<<16) to arg of next instruction) */ +LONGARG,/* b (add b*(1<<16) to arg of next instruction) */ + +CHECKSTACK /* b (assert #temporaries == b; only for internal debuging!) */ } OpCode; -- cgit v1.2.3-55-g6feb