mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
C++: Further simplify a bit
This changes tuple counts!?
This commit is contained in:
committed by
Robert Marsh
parent
5072201b7e
commit
8acbb3bfb9
@@ -574,13 +574,13 @@ module DefUse {
|
||||
// An odd offset corresponds to the `Chi` instruction.
|
||||
defOffset = oldOffset * 2 + 1 and
|
||||
result = Chi(oldInstr) and
|
||||
hasNonPhiDefinition(_, defLocation, defBlock, defOffset) and
|
||||
defLocation = Alias::getResultMemoryLocation(oldInstr) and
|
||||
actualDefLocation = defLocation.getVirtualVariable()
|
||||
or
|
||||
// An even offset corresponds to the original instruction.
|
||||
defOffset = oldOffset * 2 and
|
||||
result = getNewInstruction(oldInstr) and
|
||||
hasNonPhiDefinition(_, defLocation, defBlock, defOffset) and
|
||||
defLocation = Alias::getResultMemoryLocation(oldInstr) and
|
||||
actualDefLocation = defLocation
|
||||
)
|
||||
or
|
||||
|
||||
Reference in New Issue
Block a user