mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Added missing curly braces which renders the if clause useless in debug build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43196 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e526962fc5
commit
b9d5e7cdc9
@ -171,7 +171,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
|
|
||||||
// If this instruction is potentially convertible to a true
|
// If this instruction is potentially convertible to a true
|
||||||
// three-address instruction,
|
// three-address instruction,
|
||||||
if (TID->Flags & M_CONVERTIBLE_TO_3_ADDR)
|
if (TID->Flags & M_CONVERTIBLE_TO_3_ADDR) {
|
||||||
// FIXME: This assumes there are no more operands which are tied
|
// FIXME: This assumes there are no more operands which are tied
|
||||||
// to another register.
|
// to another register.
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
@ -189,6 +189,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
InstructionRearranged:
|
InstructionRearranged:
|
||||||
const TargetRegisterClass* rc = MF.getSSARegMap()->getRegClass(regA);
|
const TargetRegisterClass* rc = MF.getSSARegMap()->getRegClass(regA);
|
||||||
|
Loading…
Reference in New Issue
Block a user