@@ -2631,13 +2631,6 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
2631
2631
predicate viableImplNotCallContextReducedReverse ( CcNoCall ctx ) {
2632
2632
ctx instanceof CallContextAny
2633
2633
}
2634
-
2635
- bindingset [ call, c]
2636
- CcNoCall getCallContextReturn ( DataFlowCallable c , DataFlowCall call ) {
2637
- if Input:: reducedViableImplInReturn ( c , call )
2638
- then result = TReturn ( c , call )
2639
- else result = ccNone ( )
2640
- }
2641
2634
}
2642
2635
2643
2636
private module Stage2Param implements MkStage< Stage1 > :: StageParam {
@@ -2681,6 +2674,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
2681
2674
import CachedCallContextSensitivity
2682
2675
}
2683
2676
2677
+ import Level1CallContextInput
2684
2678
import Level1CallContext< Level1CallContextInput >
2685
2679
import NoLocalCallContext
2686
2680
@@ -2971,6 +2965,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
2971
2965
import CallContextSensitivity< CallContextSensitivityInput >
2972
2966
}
2973
2967
2968
+ import Level1CallContextInput
2974
2969
import Level1CallContext< Level1CallContextInput >
2975
2970
import NoLocalCallContext
2976
2971
@@ -3363,6 +3358,7 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
3363
3358
import CallContextSensitivity< CallContextSensitivityInput >
3364
3359
}
3365
3360
3361
+ import Level1CallContextInput
3366
3362
import Level1CallContext< Level1CallContextInput >
3367
3363
import LocalCallContext
3368
3364
@@ -4338,11 +4334,8 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
4338
4334
pathOutOfCallable0 ( mid , pos , state , innercc , apa ) and
4339
4335
c = pos .getCallable ( ) and
4340
4336
kind = pos .getKind ( ) and
4341
- PrunedCallContextSensitivityStage5:: resolveReturn ( innercc , c , call )
4342
- |
4343
- if PrunedCallContextSensitivityStage5:: reducedViableImplInReturn ( c , call )
4344
- then cc = TReturn ( c , call )
4345
- else cc = TAnyCallContext ( )
4337
+ PrunedCallContextSensitivityStage5:: resolveReturn ( innercc , c , call ) and
4338
+ cc = PrunedCallContextSensitivityStage5:: getCallContextReturn ( c , call )
4346
4339
)
4347
4340
}
4348
4341
@@ -5409,11 +5402,8 @@ module MakeImpl<LocationSig Location, InputSig<Location> Lang> {
5409
5402
partialPathOutOfCallable0 ( mid , pos , state , innercc , t , ap ) and
5410
5403
c = pos .getCallable ( ) and
5411
5404
kind = pos .getKind ( ) and
5412
- CachedCallContextSensitivity:: resolveReturn ( innercc , c , call )
5413
- |
5414
- if CachedCallContextSensitivity:: reducedViableImplInReturn ( c , call )
5415
- then cc = TReturn ( c , call )
5416
- else cc = TAnyCallContext ( )
5405
+ CachedCallContextSensitivity:: resolveReturn ( innercc , c , call ) and
5406
+ cc = CachedCallContextSensitivity:: getCallContextReturn ( c , call )
5417
5407
)
5418
5408
}
5419
5409
0 commit comments