aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-06-09 23:59:44 +0000
committerChris Lattner <sabre@nondot.org>2006-06-09 23:59:44 +0000
commit11bcd28dfff6868a37dc49fc6f322094874e3967 (patch)
treeba1138f483ab3b51043e6ad706724743350e2ad2
parent629e48768abd320107eae8e23d5af1e38d4c0fbe (diff)
downloadexternal_llvm-11bcd28dfff6868a37dc49fc6f322094874e3967.zip
external_llvm-11bcd28dfff6868a37dc49fc6f322094874e3967.tar.gz
external_llvm-11bcd28dfff6868a37dc49fc6f322094874e3967.tar.bz2
Wrap to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28743 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--utils/TableGen/DAGISelEmitter.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/utils/TableGen/DAGISelEmitter.cpp b/utils/TableGen/DAGISelEmitter.cpp
index 4a399cd..277d41e 100644
--- a/utils/TableGen/DAGISelEmitter.cpp
+++ b/utils/TableGen/DAGISelEmitter.cpp
@@ -2748,7 +2748,8 @@ public:
emitCode(" Result = SDOperand(ResNode, N.ResNo-1);");
}
emitCode("else");
- emitCode(" Result = SDOperand(" + ChainName + ".Val, " + ChainName + ".ResNo);");
+ emitCode(" Result = SDOperand(" + ChainName + ".Val, " +
+ ChainName + ".ResNo);");
} else {
emitCode("Result = SDOperand(ResNode, N.ResNo);");
}
@@ -2780,8 +2781,8 @@ public:
if (NodeHasInFlag || HasImpInputs)
Code += ", InFlag";
emitCode(Code + ");");
- emitCode(" SelectionDAG::InsertISelMapEntry(CodeGenMap, N.Val, N.ResNo, "
- "ResNode, 0);");
+ emitCode(" SelectionDAG::InsertISelMapEntry(CodeGenMap, N.Val, N.ResNo"
+ ", ResNode, 0);");
emitCode(" Result = SDOperand(ResNode, 0);");
emitCode("}");
}
@@ -3544,7 +3545,7 @@ void DAGISelEmitter::run(std::ostream &OS) {
<< "E = From.Val->use_end(); UI != E; ++UI) {\n";
OS << " SDNode *Use = *UI;\n";
OS << " std::vector<SDOperand> Ops;\n";
- OS << " for (unsigned i = 0, e = Use->getNumOperands(); i != e; ++i) {\n";
+ OS << " for (unsigned i = 0, e = Use->getNumOperands(); i != e; ++i){\n";
OS << " SDOperand O = Use->getOperand(i);\n";
OS << " if (O.Val == From.Val)\n";
OS << " Ops.push_back(To);\n";