diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-27 14:56:33 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-01-27 14:56:33 -0200 |
commit | 5bd8d388de6704cc7f0eb60de33636a4dfcd61bd (patch) | |
tree | b0d226562331d8667847908dc957a4e01f811dd5 /lopcodes.h | |
parent | 28f215ecf8b8d987f0bf64f3154b0e2fbc5e5168 (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) */ | |||
248 | OP_NOT,/* A B R(A) := not R(B) */ | 248 | OP_NOT,/* A B R(A) := not R(B) */ |
249 | OP_LEN,/* A B R(A) := length of R(B) */ | 249 | OP_LEN,/* A B R(A) := length of R(B) */ |
250 | 250 | ||
251 | OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ | 251 | OP_CONCAT,/* A B R(A) := R(A).. ... ..R(A + B - 1) */ |
252 | 252 | ||
253 | OP_CLOSE,/* A close all upvalues >= R(A) */ | 253 | OP_CLOSE,/* A close all upvalues >= R(A) */ |
254 | OP_JMP,/* k sJ pc += sJ (k is used in code generation) */ | 254 | OP_JMP,/* k sJ pc += sJ (k is used in code generation) */ |