@@ -781,26 +781,12 @@ class IndirectArgumentOutNode extends Node, TIndirectArgumentOutNode, PartialDef
781
781
override Expr getDefinedExpr ( ) { result = operand .getDef ( ) .getUnconvertedResultExpression ( ) }
782
782
}
783
783
784
- pragma [ nomagic]
785
- predicate indirectReturnOutNodeOperand0 ( CallInstruction call , Operand operand , int indirectionIndex ) {
786
- Ssa:: hasRawIndirectInstruction ( call , indirectionIndex ) and
787
- operandForFullyConvertedCall ( operand , call )
788
- }
789
-
790
- pragma [ nomagic]
791
- predicate indirectReturnOutNodeInstruction0 (
792
- CallInstruction call , Instruction instr , int indirectionIndex
793
- ) {
794
- Ssa:: hasRawIndirectInstruction ( call , indirectionIndex ) and
795
- instructionForFullyConvertedCall ( instr , call )
796
- }
797
-
798
784
/**
799
785
* Holds if `node` is an indirect operand with columns `(operand, indirectionIndex)`, and
800
786
* `operand` represents a use of the fully converted value of `call`.
801
787
*/
802
788
private predicate hasOperand ( Node node , CallInstruction call , int indirectionIndex , Operand operand ) {
803
- indirectReturnOutNodeOperand0 ( call , operand , indirectionIndex ) and
789
+ operandForFullyConvertedCall ( operand , call ) and
804
790
hasOperandAndIndex ( node , operand , indirectionIndex )
805
791
}
806
792
@@ -813,7 +799,7 @@ private predicate hasOperand(Node node, CallInstruction call, int indirectionInd
813
799
private predicate hasInstruction (
814
800
Node node , CallInstruction call , int indirectionIndex , Instruction instr
815
801
) {
816
- indirectReturnOutNodeInstruction0 ( call , instr , indirectionIndex ) and
802
+ instructionForFullyConvertedCall ( instr , call ) and
817
803
hasInstructionAndIndex ( node , instr , indirectionIndex )
818
804
}
819
805
0 commit comments