Skip to content

Commit

Permalink
Remove debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
tmr232 committed Jan 13, 2025
1 parent a55128b commit 11091cc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Graph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,16 @@
const builder = newCFGBuilder(language, { flatSwitch });
cfg = builder.buildCFG(functionSyntax);
console.log("1Is correct type?", cfg.offsetToNode instanceof Lookup);
if (!cfg) return "";
if (trim) cfg = trimFor(cfg);
console.log("2Is correct type?", cfg.offsetToNode instanceof Lookup);
if (simplify) {
if (showRegions) {
cfg = simplifyCFG(cfg, overlayBuilder.getAttrMerger(mergeNodeAttrs));
console.log("3Is correct type?", cfg.offsetToNode instanceof Lookup);
} else {
cfg = simplifyCFG(cfg, mergeNodeAttrs);
console.log("4Is correct type?", cfg.offsetToNode instanceof Lookup);
}
}
cfg = remapNodeTargets(cfg);
console.log("5Is correct type?", cfg.offsetToNode instanceof Lookup);
const nodeToHighlight =
highlightOffset && highlight
? cfg.offsetToNode.get(highlightOffset)
Expand Down

0 comments on commit 11091cc

Please sign in to comment.