OSDN Git Service

Remove obsolete comment, make things look a bit nicer
authorChris Lattner <sabre@nondot.org>
Wed, 4 Jan 2006 00:32:01 +0000 (00:32 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 4 Jan 2006 00:32:01 +0000 (00:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25070 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 8281948..d719038 100644 (file)
@@ -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";
   }