aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode/ops.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2021-10-28 10:40:22 +0200
committerBad Diode <bd@badd10de.dev>2021-10-28 10:40:22 +0200
commitd04aea3c5875cd2859d6ab961256b11189c49839 (patch)
tree911b6df338dde38ed28c447cfba999bcc3cb1743 /src/bytecode/ops.h
parent4515d21211263a2c7367ec20ec01ce9efaae1d18 (diff)
downloadbdl-d04aea3c5875cd2859d6ab961256b11189c49839.tar.gz
bdl-d04aea3c5875cd2859d6ab961256b11189c49839.zip
Prepare for closure capture
Diffstat (limited to 'src/bytecode/ops.h')
-rwxr-xr-xsrc/bytecode/ops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bytecode/ops.h b/src/bytecode/ops.h
index 52c774a..d45c27e 100755
--- a/src/bytecode/ops.h
+++ b/src/bytecode/ops.h
@@ -5,6 +5,9 @@ typedef enum Ops {
5 // Load/store ops. 5 // Load/store ops.
6 OP_CONSTANT, 6 OP_CONSTANT,
7 OP_LOCAL, 7 OP_LOCAL,
8 OP_CAPTURED,
9 OP_CAPTURE_LOCAL,
10 // OP_SET_CAPTURED,
8 OP_DEF_LOCAL, 11 OP_DEF_LOCAL,
9 OP_SET_LOCAL, 12 OP_SET_LOCAL,
10 OP_DEF, 13 OP_DEF,