diff options
author | bd-912 <bdunahu@colostate.edu> | 2024-04-17 15:38:56 -0600 |
---|---|---|
committer | bd-912 <bdunahu@colostate.edu> | 2024-04-17 15:38:56 -0600 |
commit | 3b1571fd410096eb20a9af9ebcee124ff1ea8eac (patch) | |
tree | 13e1f50d0f68d63ecb1fff14cf9d0091a691e3f5 /vaporize/library/CFGSimp.java | |
parent | 6d68e534aa53f3879ebc8a4f5803e468dc86a6bc (diff) |
Allow CFG to compile by removing generic types
Diffstat (limited to 'vaporize/library/CFGSimp.java')
-rw-r--r-- | vaporize/library/CFGSimp.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/vaporize/library/CFGSimp.java b/vaporize/library/CFGSimp.java index 6ab276a..3a612bd 100644 --- a/vaporize/library/CFGSimp.java +++ b/vaporize/library/CFGSimp.java @@ -5,7 +5,7 @@ import st.*; import misc.*; import java.util.*; -public class CFGSimp<P, R> extends VInstr.VisitorPR<P, R, RuntimeException> { +public class CFGSimp extends VInstr.VisitorPR<String, String, RuntimeException> { private ControlFlowGraph cfg; @@ -29,36 +29,36 @@ public class CFGSimp<P, R> extends VInstr.VisitorPR<P, R, RuntimeException> { return this.cfg; } - public R visit(P p, VMemRead n) throws RuntimeException { + public String visit(String p, VMemRead n) throws RuntimeException { return null; } - public R visit(P p, VMemWrite n) throws RuntimeException { + public String visit(String p, VMemWrite n) throws RuntimeException { return null; } - public R visit(P p, VAssign n) throws RuntimeException { + public String visit(String p, VAssign n) throws RuntimeException { return null; } - public R visit(P p, VBranch n) throws RuntimeException { + public String visit(String p, VBranch n) throws RuntimeException { // two edges return null; } - public R visit(P p, VGoto n) throws RuntimeException { + public String visit(String p, VGoto n) throws RuntimeException { return null; } - public R visit(P p, VCall n) throws RuntimeException { + public String visit(String p, VCall n) throws RuntimeException { return null; } - public R visit(P p, VBuiltIn n) throws RuntimeException { + public String visit(String p, VBuiltIn n) throws RuntimeException { return null; } - public R visit(P p, VReturn n) throws RuntimeException { + public String visit(String p, VReturn n) throws RuntimeException { return null; } |