File tree 2 files changed +7
-1
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -874,7 +874,7 @@ private int numberOfOverlappingUses(MemoryLocation0 def) {
874
874
* Holds if `def` is a busy definition. That is, it has a large number of
875
875
* overlapping uses.
876
876
*/
877
- private predicate isBusyDef ( MemoryLocation0 def ) { numberOfOverlappingUses ( def ) > 1024 }
877
+ predicate isBusyDef ( MemoryLocation0 def ) { numberOfOverlappingUses ( def ) > 1024 }
878
878
879
879
/** Holds if `use` is a use that overlaps with a busy definition. */
880
880
private predicate useOverlapWithBusyDef ( MemoryLocation0 use ) {
Original file line number Diff line number Diff line change @@ -143,3 +143,9 @@ int getStartBitOffset(MemoryLocation location) { none() }
143
143
144
144
/** Gets the end bit offset of a `MemoryLocation`, if any. */
145
145
int getEndBitOffset ( MemoryLocation location ) { none ( ) }
146
+
147
+ /**
148
+ * Holds if `def` is a busy definition. That is, it has a large number of
149
+ * overlapping uses.
150
+ */
151
+ predicate isBusyDef ( MemoryLocation def ) { none ( ) }
You can’t perform that action at this time.
0 commit comments