forked from OSchip/llvm-project
[TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file.
llvm-svn: 260501
This commit is contained in:
parent
fc1b4d4d32
commit
a3ebc4f03e
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue