summaryrefslogtreecommitdiff
path: root/mi/mi.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-09 16:49:09 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-09 16:49:09 -0700
commited8711e68e441e9884d734932373317834665833 (patch)
tree08a3f37550af1b6adb1ad912ee6df70fa6c1ceaf /mi/mi.h
parentbd5fb6d0628831cde25f13e3fe461786d616a06e (diff)
downloadmc-ed8711e68e441e9884d734932373317834665833.tar.gz
Refactor code to add jump tables, and prepare to generate them.
Diffstat (limited to 'mi/mi.h')
-rw-r--r--mi/mi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 5e52889..b22e195 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -38,6 +38,10 @@ struct Reaching {
/* expression folding */
Node *fold(Node *n, int foldvar);
+/* node creation */
+Node *genlbl(Srcloc loc);
+Node *gentemp(Node *e, Type *ty, Node **dcl);
+
/* dataflow analysis */
Reaching *reaching(Cfg *cfg);
Node *assignee(Node *n);