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 {
2323 newtype TOperand =
2424 // RAW
2525 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 )
2928 } or
3029 // Placeholder for Phi and Chi operands in stages that don't have the corresponding instructions
3130 TNoOperand ( ) { none ( ) } or
You can’t perform that action at this time.
0 commit comments