summaryrefslogtreecommitdiffstats
path: root/llvm/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-04 00:32:01 +0000
committerChris Lattner <sabre@nondot.org>2006-01-04 00:32:01 +0000
commit3d38031bef88cdb9aa67b61919167cb4aabbf571 (patch)
tree626d5432f991f9f054d0a6fb83ea0b0bc9cc820a /llvm/utils
parentc29793a077a111cd1ac19b0e500f44099987c110 (diff)
downloadbcm5719-llvm-3d38031bef88cdb9aa67b61919167cb4aabbf571.tar.gz
bcm5719-llvm-3d38031bef88cdb9aa67b61919167cb4aabbf571.zip
Remove obsolete comment, make things look a bit nicer
llvm-svn: 25070
Diffstat (limited to 'llvm/utils')
-rw-r--r--llvm/utils/TableGen/DAGISelEmitter.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/utils/TableGen/DAGISelEmitter.cpp b/llvm/utils/TableGen/DAGISelEmitter.cpp
index 82819489674..d719038ac89 100644
--- a/llvm/utils/TableGen/DAGISelEmitter.cpp
+++ b/llvm/utils/TableGen/DAGISelEmitter.cpp
@@ -2531,7 +2531,6 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
<< " return N; // Already selected.\n\n"
<< " std::map<SDOperand, SDOperand>::iterator CGMI = CodeGenMap.find(N);\n"
<< " if (CGMI != CodeGenMap.end()) return CGMI->second;\n"
- << " // Work arounds for GCC stack overflow bugs.\n"
<< " switch (N.getOpcode()) {\n"
<< " default: break;\n"
<< " case ISD::EntryToken: // These leaves remain the same.\n"
@@ -2607,7 +2606,7 @@ void DAGISelEmitter::EmitInstructionSelector(std::ostream &OS) {
E = PatternsByOpcode.end(); PBOI != E; ++PBOI) {
const SDNodeInfo &OpcodeInfo = getSDNodeInfo(PBOI->first);
OS << " case " << OpcodeInfo.getEnumName() << ": "
- << std::string(std::max(0, int(16-OpcodeInfo.getEnumName().size())), ' ')
+ << std::string(std::max(0, int(24-OpcodeInfo.getEnumName().size())), ' ')
<< "return Select_" << PBOI->first->getName() << "(N);\n";
}
OpenPOWER on IntegriCloud