From 3b1571fd410096eb20a9af9ebcee124ff1ea8eac Mon Sep 17 00:00:00 2001 From: bd-912 Date: Wed, 17 Apr 2024 15:38:56 -0600 Subject: Allow CFG to compile by removing generic types --- vaporize/library/CFGSimp.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'vaporize/library/CFGSimp.java') 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 extends VInstr.VisitorPR { +public class CFGSimp extends VInstr.VisitorPR { private ControlFlowGraph cfg; @@ -29,36 +29,36 @@ public class CFGSimp extends VInstr.VisitorPR { 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; } -- cgit v1.2.3