@@ -2521,9 +2521,6 @@ module Impl<FullStateConfigSig Config> {
2521
2521
}
2522
2522
}
2523
2523
2524
- /** Gets the access path obtained by pushing `c` onto the `t,apa` pair. */
2525
- private AccessPathApprox push ( Content c , DataFlowType t , AccessPathApprox apa ) { result .isCons ( c , t , apa ) }
2526
-
2527
2524
private newtype TAccessPathApproxOption =
2528
2525
TAccessPathApproxNone ( ) or
2529
2526
TAccessPathApproxSome ( AccessPathApprox apa )
@@ -2551,7 +2548,7 @@ module Impl<FullStateConfigSig Config> {
2551
2548
Typ getTyp ( DataFlowType t ) { result = t }
2552
2549
2553
2550
bindingset [ c, t, tail]
2554
- Ap apCons ( Content c , Typ t , Ap tail ) { result = push ( c , t , tail ) }
2551
+ Ap apCons ( Content c , Typ t , Ap tail ) { result . isCons ( c , t , tail ) }
2555
2552
2556
2553
class ApHeadContent = Content ;
2557
2554
@@ -2664,8 +2661,6 @@ module Impl<FullStateConfigSig Config> {
2664
2661
2665
2662
SummaryCtxSome ( ) { this = TSummaryCtxSome ( p , s , t , ap ) }
2666
2663
2667
- ParameterPosition getParameterPos ( ) { p .isParameterOf ( _, result ) }
2668
-
2669
2664
ParamNodeEx getParamNode ( ) { result = p }
2670
2665
2671
2666
override string toString ( ) { result = p + ": " + ap }
@@ -2832,9 +2827,6 @@ module Impl<FullStateConfigSig Config> {
2832
2827
/** Gets the head of this access path, if any. */
2833
2828
abstract Content getHead ( ) ;
2834
2829
2835
- /** Gets the tail of this access path, if any. */
2836
- abstract AccessPath getTail ( ) ;
2837
-
2838
2830
/** Holds if this is a representation of `head` followed by the `typ,tail` pair. */
2839
2831
abstract predicate isCons ( Content head , DataFlowType typ , AccessPath tail ) ;
2840
2832
@@ -2854,8 +2846,6 @@ module Impl<FullStateConfigSig Config> {
2854
2846
private class AccessPathNil extends AccessPath , TAccessPathNil {
2855
2847
override Content getHead ( ) { none ( ) }
2856
2848
2857
- override AccessPath getTail ( ) { none ( ) }
2858
-
2859
2849
override predicate isCons ( Content head , DataFlowType typ , AccessPath tail ) { none ( ) }
2860
2850
2861
2851
override AccessPathFrontNil getFront ( ) { result = TFrontNil ( ) }
@@ -2876,8 +2866,6 @@ module Impl<FullStateConfigSig Config> {
2876
2866
2877
2867
override Content getHead ( ) { result = head_ }
2878
2868
2879
- override AccessPath getTail ( ) { result = tail_ }
2880
-
2881
2869
override predicate isCons ( Content head , DataFlowType typ , AccessPath tail ) {
2882
2870
head = head_ and typ = t and tail = tail_
2883
2871
}
@@ -2933,12 +2921,6 @@ module Impl<FullStateConfigSig Config> {
2933
2921
2934
2922
override Content getHead ( ) { result = head1 }
2935
2923
2936
- override AccessPath getTail ( ) {
2937
- Stage5:: consCand ( head1 , t , result .getApprox ( ) ) and
2938
- result .getHead ( ) = head2 and
2939
- result .length ( ) = len - 1
2940
- }
2941
-
2942
2924
override predicate isCons ( Content head , DataFlowType typ , AccessPath tail ) {
2943
2925
head = head1 and
2944
2926
typ = t and
@@ -2973,10 +2955,6 @@ module Impl<FullStateConfigSig Config> {
2973
2955
2974
2956
override Content getHead ( ) { result = head_ }
2975
2957
2976
- override AccessPath getTail ( ) {
2977
- Stage5:: consCand ( head_ , _, result .getApprox ( ) ) and result .length ( ) = len - 1
2978
- }
2979
-
2980
2958
override predicate isCons ( Content head , DataFlowType typ , AccessPath tail ) {
2981
2959
head = head_ and
2982
2960
Stage5:: consCand ( head_ , typ , tail .getApprox ( ) ) and tail .length ( ) = len - 1
0 commit comments