@@ -55,9 +55,10 @@ private module Cached {
5555 )
5656 }
5757
58- /** Gets a type tracker with no content and the call bit set to the given value. */
59- cached
60- TypeTracker noContentTypeTracker ( boolean hasCall ) { result = MkTypeTracker ( hasCall , noContent ( ) ) }
58+ pragma [ nomagic]
59+ private TypeTracker noContentTypeTracker ( boolean hasCall ) {
60+ result = MkTypeTracker ( hasCall , noContent ( ) )
61+ }
6162
6263 /** Gets the summary resulting from appending `step` to type-tracking summary `tt`. */
6364 cached
@@ -317,8 +318,6 @@ class StepSummary extends TStepSummary {
317318
318319/** Provides predicates for updating step summaries (`StepSummary`s). */
319320module StepSummary {
320- predicate append = Cached:: append / 2 ;
321-
322321 /**
323322 * Gets the summary that corresponds to having taken a forwards
324323 * inter-procedural step from `nodeFrom` to `nodeTo`.
@@ -379,35 +378,6 @@ module StepSummary {
379378 }
380379
381380 deprecated predicate localSourceStoreStep = flowsToStoreStep / 3 ;
382-
383- /** Gets the step summary for a level step. */
384- StepSummary levelStep ( ) { result = LevelStep ( ) }
385-
386- /** Gets the step summary for a call step. */
387- StepSummary callStep ( ) { result = CallStep ( ) }
388-
389- /** Gets the step summary for a return step. */
390- StepSummary returnStep ( ) { result = ReturnStep ( ) }
391-
392- /** Gets the step summary for storing into `content`. */
393- StepSummary storeStep ( TypeTrackerContent content ) { result = StoreStep ( content ) }
394-
395- /** Gets the step summary for loading from `content`. */
396- StepSummary loadStep ( TypeTrackerContent content ) { result = LoadStep ( content ) }
397-
398- /** Gets the step summary for loading from `load` and then storing into `store`. */
399- StepSummary loadStoreStep ( TypeTrackerContent load , TypeTrackerContent store ) {
400- result = LoadStoreStep ( load , store )
401- }
402-
403- /** Gets the step summary for a step that only permits contents matched by `filter`. */
404- StepSummary withContent ( ContentFilter filter ) { result = WithContent ( filter ) }
405-
406- /** Gets the step summary for a step that blocks contents matched by `filter`. */
407- StepSummary withoutContent ( ContentFilter filter ) { result = WithoutContent ( filter ) }
408-
409- /** Gets the step summary for a jump step. */
410- StepSummary jumpStep ( ) { result = JumpStep ( ) }
411381}
412382
413383/**
@@ -570,13 +540,6 @@ module TypeTracker {
570540 * Gets a valid end point of type tracking.
571541 */
572542 TypeTracker end ( ) { result .end ( ) }
573-
574- /**
575- * INTERNAL USE ONLY.
576- *
577- * Gets a valid end point of type tracking with the call bit set to the given value.
578- */
579- predicate end = Cached:: noContentTypeTracker / 1 ;
580543}
581544
582545pragma [ nomagic]
0 commit comments