summaryrefslogtreecommitdiff
path: root/parse/ops.def
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-07 22:28:08 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-07 22:28:08 -0700
commit6cf64ac765264c305b91b3062ef8e3525e83add5 (patch)
tree559c759ae35a20b3e4149659dfcfbc595009e297 /parse/ops.def
parentb9b8f61c838c2a384ead451f70de9d30a97526d0 (diff)
downloadmc-6cf64ac765264c305b91b3062ef8e3525e83add5.tar.gz
Add 'undef' operator.
Marks values as undefined, useful for reaching defn dummy analysis.
Diffstat (limited to 'parse/ops.def')
-rw-r--r--parse/ops.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/parse/ops.def b/parse/ops.def
index fac46a3..9b8de94 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -56,7 +56,8 @@ O(Ostruct, 1, OTmisc, NULL)
O(Oarr, 1, OTmisc, NULL)
/* all below this point are backend-only */
-O(Odead, 0, OTmisc, "DEAD") /* code */
+O(Odead, 0, OTmisc, "DEAD") /* dead code */
+O(Oundef, 0, OTmisc, "UNDEF") /* undefined var */
O(Ocjmp, 1, OTmisc, "CJMP") /* conditional jump */
O(Ojtab, 1, OTmisc, "JTAB") /* jump table */
O(Oset, 1, OTbin, "=") /* store to var */