File tree Expand file tree Collapse file tree 3 files changed +3
-9
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
-9
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ private module Cached {
51
51
52
52
cached
53
53
predicate hasInstruction ( TStageInstruction instr ) {
54
- instr instanceof TRawInstruction and instr instanceof OldInstruction
55
- or
56
- not instr instanceof TRawInstruction
54
+ instr instanceof TRawInstruction implies instr instanceof OldInstruction
57
55
}
58
56
59
57
private IRBlock getNewBlock ( OldBlock oldBlock ) {
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ private module Cached {
51
51
52
52
cached
53
53
predicate hasInstruction ( TStageInstruction instr ) {
54
- instr instanceof TRawInstruction and instr instanceof OldInstruction
55
- or
56
- not instr instanceof TRawInstruction
54
+ instr instanceof TRawInstruction implies instr instanceof OldInstruction
57
55
}
58
56
59
57
private IRBlock getNewBlock ( OldBlock oldBlock ) {
Original file line number Diff line number Diff line change @@ -51,9 +51,7 @@ private module Cached {
51
51
52
52
cached
53
53
predicate hasInstruction ( TStageInstruction instr ) {
54
- instr instanceof TRawInstruction and instr instanceof OldInstruction
55
- or
56
- not instr instanceof TRawInstruction
54
+ instr instanceof TRawInstruction implies instr instanceof OldInstruction
57
55
}
58
56
59
57
private IRBlock getNewBlock ( OldBlock oldBlock ) {
You can’t perform that action at this time.
0 commit comments