summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/InstrInfoEmitter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-02-11 07:39:27 +0000
committerCraig Topper <craig.topper@gmail.com>2016-02-11 07:39:27 +0000
commita3ebc4f03ee2315b9fc36cef48e16e4f37fc79ec (patch)
tree835c1b3812e6073a03a80436ad5cbbcfb35f0db0 /llvm/utils/TableGen/InstrInfoEmitter.cpp
parentfc1b4d4d3211c10a8fc9d6381c6b5afb3f1aeb8c (diff)
downloadbcm5719-llvm-a3ebc4f03ee2315b9fc36cef48e16e4f37fc79ec.tar.gz
bcm5719-llvm-a3ebc4f03ee2315b9fc36cef48e16e4f37fc79ec.zip
[TableGen] Don't call emitSourceFileHeader a second time in the middle of the output file.
llvm-svn: 260501
Diffstat (limited to 'llvm/utils/TableGen/InstrInfoEmitter.cpp')
-rw-r--r--llvm/utils/TableGen/InstrInfoEmitter.cpp4
1 files changed, 1 insertions, 3 deletions
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";
OpenPOWER on IntegriCloud