From abb17cf19bf7328a394f1758542172c4b4dbb539 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 19 Sep 2017 15:38:14 -0300 Subject: new opcode OP_LOADF (load immediate float) --- lopcodes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index 3d69196c..9e0ce498 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.158 2017/09/15 14:19:06 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.159 2017/09/18 16:07:54 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -175,6 +175,7 @@ name args description ------------------------------------------------------------------------*/ OP_MOVE,/* A B R(A) := R(B) */ OP_LOADI,/* A sBx R(A) := sBx */ +OP_LOADF,/* A sBx R(A) := (lua_Number)sBx */ OP_LOADK,/* A Bx R(A) := Kst(Bx) */ OP_LOADKX,/* A R(A) := Kst(extra arg) */ OP_LOADBOOL,/* A B C R(A) := (Bool)B; if (C) pc++ */ -- cgit v1.2.3-55-g6feb