diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-24 14:55:51 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-02-24 14:55:51 -0300 |
| commit | 9d7bae0b6ab66e7e0cff8871e65ecddb55513d6b (patch) | |
| tree | 18a4b30df4e0518580cd6dc7a370892f5f608021 /lopcodes.h | |
| parent | 082aded149762ec21a7fa58ef0cc8f9a61038ca7 (diff) | |
| download | lua-9d7bae0b6ab66e7e0cff8871e65ecddb55513d6b.tar.gz lua-9d7bae0b6ab66e7e0cff8871e65ecddb55513d6b.tar.bz2 lua-9d7bae0b6ab66e7e0cff8871e65ecddb55513d6b.zip | |
better instrumentation for internal debugging
Diffstat (limited to 'lopcodes.h')
| -rw-r--r-- | lopcodes.h | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lopcodes.h,v 1.25 1999/02/09 18:01:55 roberto Exp roberto $ | 2 | ** $Id: lopcodes.h,v 1.26 1999/02/23 13:38:38 roberto Exp roberto $ |
| 3 | ** Opcodes for Lua virtual machine | 3 | ** Opcodes for Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -107,7 +107,9 @@ SETLINEW,/* w - - LINE=w */ | |||
| 107 | SETLINE,/* b - - LINE=b */ | 107 | SETLINE,/* b - - LINE=b */ |
| 108 | 108 | ||
| 109 | LONGARGW,/* w (add w*(1<<16) to arg of next instruction) */ | 109 | LONGARGW,/* w (add w*(1<<16) to arg of next instruction) */ |
| 110 | LONGARG /* b (add b*(1<<16) to arg of next instruction) */ | 110 | LONGARG,/* b (add b*(1<<16) to arg of next instruction) */ |
| 111 | |||
| 112 | CHECKSTACK /* b (assert #temporaries == b; only for internal debuging!) */ | ||
| 111 | 113 | ||
| 112 | } OpCode; | 114 | } OpCode; |
| 113 | 115 | ||
