diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:59:21 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-16 13:59:21 -0300 |
commit | 04bbd0117174911a489ca7d2603c1e8717565405 (patch) | |
tree | aa655728e84a47cf6a6929ab2c232edd691ff60e /lopcodes.h | |
parent | 9ffae705ee8894d68bbc07a1a5f77a112c40efad (diff) | |
download | lua-github-04bbd0117174911a489ca7d2603c1e8717565405.tar.gz |
new operation *t (for size of t) (may yet be removed...)
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.116 2005/03/08 20:10:05 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.117 2005/03/09 16:28:07 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -176,6 +176,7 @@ OP_MOD,/* A B C R(A) := RK(B) % RK(C) */ OP_POW,/* A B C R(A) := RK(B) ^ RK(C) */ OP_UNM,/* A B R(A) := -R(B) */ OP_NOT,/* A B R(A) := not R(B) */ +OP_SIZ,/* A B R(A) := size of R(B) */ OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ |