From 5bd8d388de6704cc7f0eb60de33636a4dfcd61bd Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 27 Jan 2018 14:56:33 -0200 Subject: OP_CONCAT does not move its result (to simplify its execution) --- lopcodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 22de7a71..2f4a48fa 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.182 2018/01/09 11:21:41 roberto Exp $ +** $Id: lopcodes.h,v 1.182 2018/01/09 11:24:12 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -248,7 +248,7 @@ OP_BNOT,/* A B R(A) := ~R(B) */ OP_NOT,/* A B R(A) := not R(B) */ OP_LEN,/* A B R(A) := length of R(B) */ -OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ +OP_CONCAT,/* A B R(A) := R(A).. ... ..R(A + B - 1) */ OP_CLOSE,/* A close all upvalues >= R(A) */ OP_JMP,/* k sJ pc += sJ (k is used in code generation) */ -- cgit v1.2.3-55-g6feb