File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
cpp/ql/lib/semmle/code/cpp/ir/implementation/internal Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,8 @@ private module Internal {
23
23
newtype TOperand =
24
24
// RAW
25
25
TRegisterOperand ( TRawInstruction useInstr , RegisterOperandTag tag , TRawInstruction defInstr ) {
26
- defInstr = RawConstruction:: getRegisterOperandDefinition ( useInstr , tag ) and
27
- not RawConstruction:: isInCycle ( useInstr ) and
28
- strictcount ( RawConstruction:: getRegisterOperandDefinition ( useInstr , tag ) ) = 1
26
+ defInstr = unique( | | RawConstruction:: getRegisterOperandDefinition ( useInstr , tag ) ) and
27
+ not RawConstruction:: isInCycle ( useInstr )
29
28
} or
30
29
// Placeholder for Phi and Chi operands in stages that don't have the corresponding instructions
31
30
TNoOperand ( ) { none ( ) } or
You can’t perform that action at this time.
0 commit comments