File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
python/ql/src/experimental/typetracking Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -78,12 +78,6 @@ module StepSummary {
78
78
}
79
79
}
80
80
81
- /** Holds if it's reasonable to expect the data flow step from `nodeFrom` to `nodeTo` to preserve types. */
82
- private predicate typePreservingStep ( Node nodeFrom , Node nodeTo ) {
83
- simpleLocalFlowStep ( nodeFrom , nodeTo ) or
84
- jumpStep ( nodeFrom , nodeTo )
85
- }
86
-
87
81
/**
88
82
* A utility class that is equivalent to `boolean` but does not require type joining.
89
83
*/
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ class Node = DataFlowPublic::Node;
6
6
7
7
class LocalSourceNode = DataFlowPublic:: LocalSourceNode ;
8
8
9
- predicate jumpStep = DataFlowPrivate:: jumpStep / 2 ;
10
-
11
- predicate simpleLocalFlowStep = DataFlowPrivate:: simpleLocalFlowStep / 2 ;
9
+ /** Holds if it's reasonable to expect the data flow step from `nodeFrom` to `nodeTo` to preserve types. */
10
+ predicate typePreservingStep ( Node nodeFrom , Node nodeTo ) {
11
+ DataFlowPrivate:: simpleLocalFlowStep ( nodeFrom , nodeTo ) or
12
+ DataFlowPrivate:: jumpStep ( nodeFrom , nodeTo )
13
+ }
12
14
13
15
/**
14
16
* Gets the name of a possible piece of content. This will usually include things like
You can’t perform that action at this time.
0 commit comments