diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-17 12:22:22 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-17 12:22:22 -0600 |
commit | c14f3676114df656e5c6c07b49351c74496aaf04 (patch) | |
tree | c3e78da12d7c0de294a3b7543b10914683f19ba2 /vaporize/library/SpillEverywhere.java | |
parent | 62178e370f21ddf80766b8e1075c55e0d3945493 (diff) |
Rename Node->NodeCFG to avoid namespace collision
Diffstat (limited to 'vaporize/library/SpillEverywhere.java')
-rw-r--r-- | vaporize/library/SpillEverywhere.java | 63 |
1 files changed, 31 insertions, 32 deletions
diff --git a/vaporize/library/SpillEverywhere.java b/vaporize/library/SpillEverywhere.java index aa8368f..5edbbfc 100644 --- a/vaporize/library/SpillEverywhere.java +++ b/vaporize/library/SpillEverywhere.java @@ -45,40 +45,39 @@ public class SpillEverywhere<P, R> extends VInstr.VisitorPR<P, R, RuntimeExcepti n.getClass().getSimpleName(), this.vapor.get(n.sourcePos.line-1), n.sourcePos.toString()), true); - System.out.println("NEXT: " + - return null; - } - - public R visit(P p, VGoto n) throws RuntimeException { - PrintFilter.print(String.format("%s (%s:%s)", - n.getClass().getSimpleName(), - this.vapor.get(n.sourcePos.line-1), - n.sourcePos.toString()), true); - return null; - } + return null; + } - public R visit(P p, VCall n) throws RuntimeException { - PrintFilter.print(String.format("%s (%s:%s)", - n.getClass().getSimpleName(), - this.vapor.get(n.sourcePos.line-1), - n.sourcePos.toString()), true); - return null; - } + public R visit(P p, VGoto n) throws RuntimeException { + PrintFilter.print(String.format("%s (%s:%s)", + n.getClass().getSimpleName(), + this.vapor.get(n.sourcePos.line-1), + n.sourcePos.toString()), true); + return null; + } - public R visit(P p, VBuiltIn n) throws RuntimeException { - PrintFilter.print(String.format("%s (%s:%s)", - n.op.name, - this.vapor.get(n.sourcePos.line-1), - n.sourcePos.toString()), true); - return null; - } + public R visit(P p, VCall n) throws RuntimeException { + PrintFilter.print(String.format("%s (%s:%s)", + n.getClass().getSimpleName(), + this.vapor.get(n.sourcePos.line-1), + n.sourcePos.toString()), true); + return null; + } - public R visit(P p, VReturn n) throws RuntimeException { - PrintFilter.print(String.format("%s (%s:%s)", - n.getClass().getSimpleName(), - this.vapor.get(n.sourcePos.line-1), - n.sourcePos.toString()), true); - return null; - } + public R visit(P p, VBuiltIn n) throws RuntimeException { + PrintFilter.print(String.format("%s (%s:%s)", + n.op.name, + this.vapor.get(n.sourcePos.line-1), + n.sourcePos.toString()), true); + return null; + } + public R visit(P p, VReturn n) throws RuntimeException { + PrintFilter.print(String.format("%s (%s:%s)", + n.getClass().getSimpleName(), + this.vapor.get(n.sourcePos.line-1), + n.sourcePos.toString()), true); + return null; } + +} |