Remove extra 'nullptr' entry from an array in tablegen register info file. It should...
[oota-llvm.git] / utils / TableGen / RegisterInfoEmitter.cpp
index d7dd9e7..b727df7 100644 (file)
@@ -240,7 +240,7 @@ EmitRegUnitPressure(raw_ostream &OS, const CodeGenRegBank &RegBank,
     MaxRegUnitWeight = std::max(MaxRegUnitWeight, RegUnits.Weight);
     OS << "    \"" << RegUnits.Name << "\",\n";
   }
-  OS << "    nullptr };\n"
+  OS << "  };\n"
      << "  return PressureNameTable[Idx];\n"
      << "}\n\n";