aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-10-14 20:15:04 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-10-14 20:15:04 +0000
commit54de36b39d9e6fe61e1fe697737056c567e7008a (patch)
tree446f3a128139242539ccfc5e33494fa34fbcba97 /lib/CodeGen
parent95bf4c48ed490682485d040d856e02c0e2f6f9af (diff)
downloadexternal_llvm-54de36b39d9e6fe61e1fe697737056c567e7008a.zip
external_llvm-54de36b39d9e6fe61e1fe697737056c567e7008a.tar.gz
external_llvm-54de36b39d9e6fe61e1fe697737056c567e7008a.tar.bz2
Fix indenting.
That wasn't confusing /at all/... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192617 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp
index 5fef4be..fb798c1 100644
--- a/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -644,13 +644,14 @@ bool FastISel::SelectCall(const User *I) {
if (Op->isReg()) {
Op->setIsDebug(true);
BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(TargetOpcode::DBG_VALUE),
- false, Op->getReg(), 0, DI->getVariable());
- } else
- BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
- TII.get(TargetOpcode::DBG_VALUE))
- .addOperand(*Op).addImm(0)
- .addMetadata(DI->getVariable());
+ TII.get(TargetOpcode::DBG_VALUE), false, Op->getReg(), 0,
+ DI->getVariable());
+ } else
+ BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DL,
+ TII.get(TargetOpcode::DBG_VALUE))
+ .addOperand(*Op)
+ .addImm(0)
+ .addMetadata(DI->getVariable());
} else {
// We can't yet handle anything else here because it would require
// generating code, thus altering codegen because of debug info.