summaryrefslogtreecommitdiffstats
path: root/opcode_list.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2013-05-16 14:32:18 +0100
committerStephen Dolan <mu@netsoc.tcd.ie>2013-05-16 15:02:18 +0100
commit8fbee891b305180bdce956fde177604782c3cdc0 (patch)
tree9f0c131e4103a0e36865a5e854d124ca5d1f1bcc /opcode_list.h
parent919292764a1ba57507ab4c93e732d2037a2ffa14 (diff)
Add LOADVN opcode.
Does a variable load, but sets the variable to be null afterwards.
Diffstat (limited to 'opcode_list.h')
-rw-r--r--opcode_list.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcode_list.h b/opcode_list.h
index 14450c51..c9730bae 100644
--- a/opcode_list.h
+++ b/opcode_list.h
@@ -3,6 +3,7 @@ OP(DUP, NONE, 1, 2)
OP(DUP2, NONE, 2, 3)
OP(POP, NONE, 1, 0)
OP(LOADV, VARIABLE, 1, 1)
+OP(LOADVN, VARIABLE, 1, 1)
OP(STOREV, VARIABLE, 1, 0)
OP(INDEX, NONE, 2, 1)
OP(EACH, NONE, 1, 1)