revert caching of some large predicates that caused the DB size to increase too much

This commit is contained in:
Erik Krogh Kristensen
2021-12-08 21:34:49 +01:00
parent 0da80f90d3
commit 4089788629
4 changed files with 2 additions and 21 deletions

View File

@@ -194,9 +194,7 @@ class ControlFlowNode extends @py_flow_node {
BasicBlock getBasicBlock() { result.contains(this) }
/** Gets the scope containing this flow node */
cached
Scope getScope() {
Stages::AST::ref() and
if this.getNode() instanceof Scope
then
/* Entry or exit node */