summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:59:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-03-16 13:59:21 -0300
commit04bbd0117174911a489ca7d2603c1e8717565405 (patch)
treeaa655728e84a47cf6a6929ab2c232edd691ff60e /lopcodes.h
parent9ffae705ee8894d68bbc07a1a5f77a112c40efad (diff)
downloadlua-github-04bbd0117174911a489ca7d2603c1e8717565405.tar.gz
new operation *t (for size of t) (may yet be removed...)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 16d26d41..84880fc9 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -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) */