summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2012-11-19 00:11:50 +0000
committerCraig Topper <craig.topper@gmail.com>2012-11-19 00:11:50 +0000
commit8f54a53f0ed2091e05d5ca87d239487da292cbbc (patch)
tree55ece07792369eb067f33220cd441deee4296412
parent820b52572fadeb8c5a61b023022974372e5ce418 (diff)
downloadexternal_llvm-8f54a53f0ed2091e05d5ca87d239487da292cbbc.zip
external_llvm-8f54a53f0ed2091e05d5ca87d239487da292cbbc.tar.gz
external_llvm-8f54a53f0ed2091e05d5ca87d239487da292cbbc.tar.bz2
Move else onto line with preceding closing brace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168294 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/Passes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index ee6e283..526d994 100644
--- a/lib/CodeGen/Passes.cpp
+++ b/lib/CodeGen/Passes.cpp
@@ -465,8 +465,7 @@ void TargetPassConfig::addMachinePasses() {
// Add passes that optimize machine instructions in SSA form.
if (getOptLevel() != CodeGenOpt::None) {
addMachineSSAOptimization();
- }
- else {
+ } else {
// If the target requests it, assign local variables to stack slots relative
// to one another and simplify frame index references where possible.
addPass(&LocalStackSlotAllocationID);