summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-09-19 15:38:14 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2017-09-19 15:38:14 -0300
commitabb17cf19bf7328a394f1758542172c4b4dbb539 (patch)
tree2dce52a3922e5772aca093b53442e7220d24634f /lopcodes.h
parente0c0e2ee14f519ad33429533f87519753f07051a (diff)
downloadlua-github-abb17cf19bf7328a394f1758542172c4b4dbb539.tar.gz
new opcode OP_LOADF (load immediate float)
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h3
1 files changed, 2 insertions, 1 deletions
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++ */