File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
cpp/ql/src/semmle/code/cpp/ir/implementation
csharp/ql/src/experimental/ir/implementation/unaliased_ssa/internal Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ private class IntValue = Ints::IntValue;
9
9
* effect. If `instr` is a `CallInstruction`, gets that same `CallInstruction`.
10
10
*/
11
11
private CallInstruction getPrimaryCall ( Instruction instr ) {
12
- result = instr . ( CallInstruction )
12
+ result = instr
13
13
or
14
14
result = instr .( SideEffectInstruction ) .getPrimaryInstruction ( )
15
15
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ private class IntValue = Ints::IntValue;
9
9
* effect. If `instr` is a `CallInstruction`, gets that same `CallInstruction`.
10
10
*/
11
11
private CallInstruction getPrimaryCall ( Instruction instr ) {
12
- result = instr . ( CallInstruction )
12
+ result = instr
13
13
or
14
14
result = instr .( SideEffectInstruction ) .getPrimaryInstruction ( )
15
15
}
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ private class IntValue = Ints::IntValue;
9
9
* effect. If `instr` is a `CallInstruction`, gets that same `CallInstruction`.
10
10
*/
11
11
private CallInstruction getPrimaryCall ( Instruction instr ) {
12
- result = instr . ( CallInstruction )
12
+ result = instr
13
13
or
14
14
result = instr .( SideEffectInstruction ) .getPrimaryInstruction ( )
15
15
}
You can’t perform that action at this time.
0 commit comments