aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-27 14:56:33 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-01-27 14:56:33 -0200
commit5bd8d388de6704cc7f0eb60de33636a4dfcd61bd (patch)
treeb0d226562331d8667847908dc957a4e01f811dd5 /lopcodes.h
parent28f215ecf8b8d987f0bf64f3154b0e2fbc5e5168 (diff)
downloadlua-5bd8d388de6704cc7f0eb60de33636a4dfcd61bd.tar.gz
lua-5bd8d388de6704cc7f0eb60de33636a4dfcd61bd.tar.bz2
lua-5bd8d388de6704cc7f0eb60de33636a4dfcd61bd.zip
OP_CONCAT does not move its result (to simplify its execution)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 22de7a71..2f4a48fa 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lopcodes.h,v 1.182 2018/01/09 11:21:41 roberto Exp $ 2** $Id: lopcodes.h,v 1.182 2018/01/09 11:24:12 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*/
@@ -248,7 +248,7 @@ OP_BNOT,/* A B R(A) := ~R(B) */
248OP_NOT,/* A B R(A) := not R(B) */ 248OP_NOT,/* A B R(A) := not R(B) */
249OP_LEN,/* A B R(A) := length of R(B) */ 249OP_LEN,/* A B R(A) := length of R(B) */
250 250
251OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ 251OP_CONCAT,/* A B R(A) := R(A).. ... ..R(A + B - 1) */
252 252
253OP_CLOSE,/* A close all upvalues >= R(A) */ 253OP_CLOSE,/* A close all upvalues >= R(A) */
254OP_JMP,/* k sJ pc += sJ (k is used in code generation) */ 254OP_JMP,/* k sJ pc += sJ (k is used in code generation) */