@@ -2681,9 +2681,9 @@ class ContentSet instanceof Content {
2681
2681
2682
2682
pragma [ nomagic]
2683
2683
private predicate guardControlsPhiInput (
2684
- IRGuardCondition g , boolean branch , Ssa:: Definition def , IRBlock input , Ssa:: PhiInputNodeExt phi
2684
+ IRGuardCondition g , boolean branch , Ssa:: Definition def , IRBlock input , Ssa:: PhiNode phi
2685
2685
) {
2686
- phi .hasInputFromBlock ( def , input ) and
2686
+ phi .hasInputFromBlock ( def , _ , _ , _ , input ) and
2687
2687
(
2688
2688
g .controls ( input , branch )
2689
2689
or
@@ -2752,12 +2752,11 @@ module BarrierGuard<guardChecksSig/3 guardChecks> {
2752
2752
)
2753
2753
or
2754
2754
exists (
2755
- IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input ,
2756
- Ssa:: PhiInputNodeExt phi
2755
+ IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input , Ssa:: PhiNode phi
2757
2756
|
2758
2757
guardChecks ( g , def .getARead ( ) .asOperand ( ) .getDef ( ) .getConvertedResultExpression ( ) , branch ) and
2759
2758
guardControlsPhiInput ( g , branch , def , input , phi ) and
2760
- result = TSsaPhiInputNode ( phi . getPhi ( ) , input )
2759
+ result = TSsaPhiInputNode ( phi , input )
2761
2760
)
2762
2761
}
2763
2762
@@ -2839,14 +2838,13 @@ module BarrierGuard<guardChecksSig/3 guardChecks> {
2839
2838
)
2840
2839
or
2841
2840
exists (
2842
- IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input ,
2843
- Ssa:: PhiInputNodeExt phi
2841
+ IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input , Ssa:: PhiNode phi
2844
2842
|
2845
2843
guardChecks ( g ,
2846
2844
def .getARead ( ) .asIndirectOperand ( indirectionIndex ) .getDef ( ) .getConvertedResultExpression ( ) ,
2847
2845
branch ) and
2848
2846
guardControlsPhiInput ( g , branch , def , input , phi ) and
2849
- result = TSsaPhiInputNode ( phi . getPhi ( ) , input )
2847
+ result = TSsaPhiInputNode ( phi , input )
2850
2848
)
2851
2849
}
2852
2850
}
@@ -2881,12 +2879,11 @@ module InstructionBarrierGuard<instructionGuardChecksSig/3 instructionGuardCheck
2881
2879
)
2882
2880
or
2883
2881
exists (
2884
- IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input ,
2885
- Ssa:: PhiInputNodeExt phi
2882
+ IRGuardCondition g , boolean branch , Ssa:: DefinitionExt def , IRBlock input , Ssa:: PhiNode phi
2886
2883
|
2887
2884
instructionGuardChecks ( g , def .getARead ( ) .asOperand ( ) .getDef ( ) , branch ) and
2888
2885
guardControlsPhiInput ( g , branch , def , input , phi ) and
2889
- result = TSsaPhiInputNode ( phi . getPhi ( ) , input )
2886
+ result = TSsaPhiInputNode ( phi , input )
2890
2887
)
2891
2888
}
2892
2889
}
0 commit comments