summaryrefslogtreecommitdiff
path: root/V2VM.java
diff options
context:
space:
mode:
authorbd-912 <bdunahu@colostate.edu>2024-04-19 17:30:41 -0600
committerbd-912 <bdunahu@colostate.edu>2024-04-19 17:30:41 -0600
commit2f59e052e5272bb2833c91c84b89486bd1b5f592 (patch)
tree9c2eb9d96e7b6b00ac64eccd6f6b8c3eaa0a8419 /V2VM.java
parent837dbf613bb571bac5c9e48ffe5865425e6b9fee (diff)
Create 'Kettle' class
Diffstat (limited to 'V2VM.java')
-rw-r--r--V2VM.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/V2VM.java b/V2VM.java
index 12064ad..3b17c3a 100644
--- a/V2VM.java
+++ b/V2VM.java
@@ -27,18 +27,14 @@ public class V2VM {
VaporProgram prog = parseVapor(System.in, System.out);
+ SpillEverywhere spill = new SpillEverywhere(prog, strProg);
+
ArrayList<ControlFlowGraph> cfgs = new ArrayList<ControlFlowGraph>();
for (VFunction f : prog.functions) {
CFGSimp cfg = new CFGSimp(f);
cfgs.add(cfg.getCFG());
}
- SpillEverywhere<String, Void> se = new SpillEverywhere<String, Void>(strProg);
-
- // for (VFunction f : prog.functions)
- // for (VInstr s : f.body)
- // s.accept("", se);
-
} catch (IOException e) {
System.out.println(e.toString());
System.exit(1);