diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-10-20 04:01:47 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-10-20 04:01:47 +0000 |
commit | 8ba2af53e5955e74581eb35af81a363f314bb797 (patch) | |
tree | 284a91031bd4fcb90665814e1ccda72ee6bb205c /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | db132452e3caa89308c519f44693efa96b583f59 (diff) | |
download | external_llvm-8ba2af53e5955e74581eb35af81a363f314bb797.tar.gz external_llvm-8ba2af53e5955e74581eb35af81a363f314bb797.tar.bz2 external_llvm-8ba2af53e5955e74581eb35af81a363f314bb797.zip |
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
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 9c32388e79..53b08d6bf0 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/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: |