aboutsummaryrefslogtreecommitdiffstats
path: root/utils/TableGen/CodeEmitterGen.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-06 04:36:35 +0000
committerChris Lattner <sabre@nondot.org>2003-08-06 04:36:35 +0000
commit0e5e49e6888c354ff95fc9e56d0881af78cb4269 (patch)
treee7204237ce6a61039d330f64f40ac05df9cbf371 /utils/TableGen/CodeEmitterGen.cpp
parentbc01723605de979e67b1aea67385a029f851de34 (diff)
downloadexternal_llvm-0e5e49e6888c354ff95fc9e56d0881af78cb4269.zip
external_llvm-0e5e49e6888c354ff95fc9e56d0881af78cb4269.tar.gz
external_llvm-0e5e49e6888c354ff95fc9e56d0881af78cb4269.tar.bz2
convert over to using TableGen backends
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeEmitterGen.cpp')
-rw-r--r--utils/TableGen/CodeEmitterGen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/CodeEmitterGen.cpp b/utils/TableGen/CodeEmitterGen.cpp
index b3928b8..0769456 100644
--- a/utils/TableGen/CodeEmitterGen.cpp
+++ b/utils/TableGen/CodeEmitterGen.cpp
@@ -11,6 +11,8 @@
void CodeEmitterGen::run(std::ostream &o) {
std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction");
+ EmitSourceFileHeader("Machine Code Emitter", o);
+
std::string Namespace = "V9::";
std::string ClassName = "SparcV9CodeEmitter::";