Skip to content

Commit

Permalink
Merge pull request #236 from dwnusbaum/avoid-transient-actions
Browse files Browse the repository at this point in the history
Avoid loading transient actions in `FlowGraphTable`
  • Loading branch information
jglick authored Sep 12, 2023
2 parents d85873b + b4dfc96 commit 43e78cc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public static class Row {

private Row(FlowNode node) {
this.node = node;
TimingAction act = node.getAction(TimingAction.class);
TimingAction act = node.getPersistentAction(TimingAction.class);
if (act != null) {
this.startTimeMillis = act.getStartTime();
this.hasStartTime = true;
Expand All @@ -289,7 +289,7 @@ public String getDisplayName() {
// TODO make StepAtomNode.effectiveFunctionName into an API
return node.getDisplayFunctionName();
} else if (node instanceof StepNode && node instanceof BlockStartNode) {
if (node.getAction(BodyInvocationAction.class) != null) {
if (node.getPersistentAction(BodyInvocationAction.class) != null) {
// TODO cannot access StepAtomNode.effectiveFunctionName from here
LinearBlockHoppingScanner scanner = new LinearBlockHoppingScanner();
scanner.setup(node);
Expand Down

0 comments on commit 43e78cc

Please sign in to comment.