From 7abe891766135b36e538b26e7d2433d3bf2a40b2 Mon Sep 17 00:00:00 2001 From: bd-912 Date: Sat, 20 Apr 2024 01:46:24 -0600 Subject: Fix many more issues with goto/branch found with GraphViz --- vaporize/library/CFGSimp.java | 20 ++++++++++++-------- vaporize/library/ControlFlowGraph.java | 21 +++++++++++++++++++++ vaporize/library/Kettle.java | 26 ++++++++++++++------------ 3 files changed, 47 insertions(+), 20 deletions(-) diff --git a/vaporize/library/CFGSimp.java b/vaporize/library/CFGSimp.java index 0cefb5a..c261f7c 100644 --- a/vaporize/library/CFGSimp.java +++ b/vaporize/library/CFGSimp.java @@ -9,7 +9,7 @@ import java.util.*; public class CFGSimp extends VInstr.VisitorPR { - private boolean use_graphviz = true; // if true, generates svg files of the edges in each function + private boolean use_graphviz = true; // if true, generates svg files of the edges in each function private VaporProgram vp; private Kettle kettle; @@ -27,7 +27,8 @@ public class CFGSimp extends VInstr.VisitorPR