diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-19 15:38:14 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2017-09-19 15:38:14 -0300 |
commit | abb17cf19bf7328a394f1758542172c4b4dbb539 (patch) | |
tree | 2dce52a3922e5772aca093b53442e7220d24634f /lopcodes.h | |
parent | e0c0e2ee14f519ad33429533f87519753f07051a (diff) | |
download | lua-github-abb17cf19bf7328a394f1758542172c4b4dbb539.tar.gz |
new opcode OP_LOADF (load immediate float)
Diffstat (limited to 'lopcodes.h')
-rw-r--r-- | lopcodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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++ */ |