mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 22:45:05 +00:00
[TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
083ca64734
commit
a78623e3e8
@ -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…
x
Reference in New Issue
Block a user