summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-20 04:01:47 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-20 04:01:47 +0000
commitf12967124cb65a5439bd2fc6c76e9b4c9bf9a30c (patch)
tree079f65a083376f64aee1e3aad2086e56e2d668dc /llvm/lib/CodeGen
parent771188cf60591ddcfa0f6118863adfa7ecf48f6c (diff)
downloadbcm5719-llvm-f12967124cb65a5439bd2fc6c76e9b4c9bf9a30c.tar.gz
bcm5719-llvm-f12967124cb65a5439bd2fc6c76e9b4c9bf9a30c.zip
Added missing curly braces which renders the if clause useless in debug build.
llvm-svn: 43196
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/TwoAddressInstructionPass.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
index 9c32388e790..53b08d6bf0f 100644
--- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
@@ -171,7 +171,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
// If this instruction is potentially convertible to a true
// 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
// to another register.
#ifndef NDEBUG
@@ -188,6 +188,7 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &MF) {
// Done with this instruction.
break;
}
+ }
}
InstructionRearranged:
OpenPOWER on IntegriCloud