From a3ebc4f03ee2315b9fc36cef48e16e4f37fc79ec Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Thu, 11 Feb 2016 07:39:27 +0000 Subject: [TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file. llvm-svn: 260501 --- llvm/utils/TableGen/InstrInfoEmitter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'llvm/utils/TableGen') diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index 061d23171d5..47e705e5314 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -339,11 +339,9 @@ void InstrInfoEmitter::emitOperandTypesEnum(raw_ostream &OS, // run - Emit the main instruction description records for the target... void InstrInfoEmitter::run(raw_ostream &OS) { - emitSourceFileHeader("Target Instruction Enum Values", OS); + emitSourceFileHeader("Target Instruction Enum Values and Descriptors", OS); emitEnums(OS); - emitSourceFileHeader("Target Instruction Descriptors", OS); - OS << "#ifdef GET_INSTRINFO_MC_DESC\n"; OS << "#undef GET_INSTRINFO_MC_DESC\n"; -- cgit v1.2.3