Skip to content

Commit e416d75

Browse files
author
Robert Marsh
committed
C++: add noopt on getPhiOperandDefinition
1 parent 8acbb3b commit e416d75

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/ql/src/semmle/code/cpp/ir/implementation/aliased_ssa/internal/SSAConstruction.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,10 @@ private module Cached {
153153
)
154154
}
155155

156+
pragma[noopt]
156157
cached
157158
Instruction getPhiOperandDefinition(
158-
PhiInstruction instr, IRBlock newPredecessorBlock, Overlap overlap
159+
Phi instr, IRBlock newPredecessorBlock, Overlap overlap
159160
) {
160161
exists(
161162
Alias::MemoryLocation defLocation, Alias::MemoryLocation useLocation, OldBlock phiBlock,

0 commit comments

Comments
 (0)