C++ IR: Don't repeat a very similar predicate body

This commit is contained in:
Jonas Jensen
2018-08-10 15:56:29 +02:00
parent a235d7aaff
commit d88c9c67f1
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ cached private module Cached {
}
private Instruction getNewInstruction(OldIR::Instruction instr) {
result.getTag() = WrappedInstructionTag(instr)
getOldInstruction(result) = instr
}
private PhiInstruction getPhiInstruction(Function func, OldIR::IRBlock oldBlock,

View File

@@ -59,7 +59,7 @@ cached private module Cached {
}
private Instruction getNewInstruction(OldIR::Instruction instr) {
result.getTag() = WrappedInstructionTag(instr)
getOldInstruction(result) = instr
}
private PhiInstruction getPhiInstruction(Function func, OldIR::IRBlock oldBlock,