summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-27 00:29:07 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-27 00:31:56 -0700
commitcde7e0d999cf3d56f48d830cf3149f779d86fb31 (patch)
tree1a322413d711e3b53ccb26e634f7775ddcfade8c /parse/ops.def
parentc74b0bc06994e9a4921131696a5714cf83642acc (diff)
downloadmc-cde7e0d999cf3d56f48d830cf3149f779d86fb31.tar.gz
Add indirect call operator.
This should allow us to split up direct calls and environment calls. Currently, it doesn't actually do anything.
Diffstat (limited to 'parse/ops.def')
-rw-r--r--parse/ops.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/ops.def b/parse/ops.def
index d5e027b..295973b 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -69,6 +69,7 @@ O(Outag, 1, OTpre, "UTAG") /* tag of union */
O(Oudata, 1, OTpre, "UDATA") /* pointer to contents of union */
O(Oblit, 1, OTbin, "BLIT") /* blit memory */
O(Oclear, 1, OTpre, "CLEAR") /* zero */
+O(Ocallind, 1, OTpre, "CALL") /* call with environment */
/* integer conversions */
O(Otrunc, 1, OTmisc, NULL) /* truncating cast */