summaryrefslogtreecommitdiff
path: root/parse
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-06 20:48:08 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-06 20:48:08 -0700
commit535af2de79e234b615a2c6e758d778a3639bfc21 (patch)
treee3f04f6c8c577f2a1844f185e3f88ac489e4c629 /parse
parent9bbe6908eeb15650a5f065c8aea8142d1ce905ff (diff)
downloadmc-535af2de79e234b615a2c6e758d778a3639bfc21.tar.gz
A huge amount of work on checking.
We now check for return types, and have a partly fleshed out use-before-def analysis.
Diffstat (limited to 'parse')
-rw-r--r--parse/ops.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/ops.def b/parse/ops.def
index caa6f56..fac46a3 100644
--- a/parse/ops.def
+++ b/parse/ops.def
@@ -56,7 +56,7 @@ O(Ostruct, 1, OTmisc, NULL)
O(Oarr, 1, OTmisc, NULL)
/* all below this point are backend-only */
-O(Odead, 0, OTmisc, "DEAD") /* unreachable code */
+O(Odead, 0, OTmisc, "DEAD") /* code */
O(Ocjmp, 1, OTmisc, "CJMP") /* conditional jump */
O(Ojtab, 1, OTmisc, "JTAB") /* jump table */
O(Oset, 1, OTbin, "=") /* store to var */