diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-16 16:45:30 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-16 16:45:30 -0600 |
commit | 27de8a34f346cddef322c7b65555ddb803532d74 (patch) | |
tree | 85a3ec3cd22903c10622d56a54818566bb8a2162 /V2VM.java | |
parent | 2288a8cd8e63b928d2e382f936e4463b2e3803d1 (diff) |
Make symt a class variable in BoilSimp
Diffstat (limited to 'V2VM.java')
-rw-r--r-- | V2VM.java | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -19,11 +19,10 @@ public class V2VM { try { VFunction[] funts = parseVapor(System.in, System.out).functions; - ControlFlowGraph cfg = new ControlFlowGraph<Void, Void>(); + ControlFlowGraph<String, Void> cfg = new ControlFlowGraph<String, Void>(); - TotalSpill<String, Void> ts = new TotalSpill<String, Void>(); for (VFunction f : funts) { - f.body[0].accept("", ts); + f.body[0].accept("", cfg); } } catch (IOException e) { |