aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-20 19:45:21 +0000
committerChris Lattner <sabre@nondot.org>2010-07-20 19:45:21 +0000
commit444e2f530e8ee74a4628e68f6f33f079f83ed2b2 (patch)
treec731cba8eaa52053d4b9e49de7099c3546784e8a /utils
parente1c29be6f08d0e5657cfa3d430816147698c7479 (diff)
downloadexternal_llvm-444e2f530e8ee74a4628e68f6f33f079f83ed2b2.zip
external_llvm-444e2f530e8ee74a4628e68f6f33f079f83ed2b2.tar.gz
external_llvm-444e2f530e8ee74a4628e68f6f33f079f83ed2b2.tar.bz2
remove option from tablegen for building static header.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108893 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r--utils/TableGen/EDEmitter.cpp18
-rw-r--r--utils/TableGen/EDEmitter.h3
-rw-r--r--utils/TableGen/TableGen.cpp7
3 files changed, 1 insertions, 27 deletions
diff --git a/utils/TableGen/EDEmitter.cpp b/utils/TableGen/EDEmitter.cpp
index 80d09f9..93786ee 100644
--- a/utils/TableGen/EDEmitter.cpp
+++ b/utils/TableGen/EDEmitter.cpp
@@ -896,21 +896,3 @@ void EDEmitter::run(raw_ostream &o) {
o << "}\n";
}
-
-void EDEmitter::runHeader(raw_ostream &o) {
- EmitSourceFileHeader("Enhanced Disassembly Info Header", o);
-
- o << "#ifndef EDInfo_" << "\n";
- o << "#define EDInfo_" << "\n";
- o << "\n";
- o << "#define EDIS_MAX_OPERANDS " << format("%d", EDIS_MAX_OPERANDS) << "\n";
- o << "#define EDIS_MAX_SYNTAXES " << format("%d", EDIS_MAX_SYNTAXES) << "\n";
- o << "\n";
-
- unsigned int i = 0;
-
- emitCommonEnums(o, i);
-
- o << "\n";
- o << "#endif" << "\n";
-}
diff --git a/utils/TableGen/EDEmitter.h b/utils/TableGen/EDEmitter.h
index 9e40a8b..e30373f 100644
--- a/utils/TableGen/EDEmitter.h
+++ b/utils/TableGen/EDEmitter.h
@@ -27,9 +27,6 @@ namespace llvm {
// run - Output the instruction table.
void run(raw_ostream &o);
-
- // runHeader - Emit a header file that allows use of the instruction table.
- void runHeader(raw_ostream &o);
};
} // End llvm namespace
diff --git a/utils/TableGen/TableGen.cpp b/utils/TableGen/TableGen.cpp
index 7a4f74f..ebd163d 100644
--- a/utils/TableGen/TableGen.cpp
+++ b/utils/TableGen/TableGen.cpp
@@ -67,7 +67,7 @@ enum ActionType {
GenIntrinsic,
GenTgtIntrinsic,
GenLLVMCConf,
- GenEDHeader, GenEDInfo,
+ GenEDInfo,
GenArmNeon,
GenArmNeonSema,
PrintEnums
@@ -128,8 +128,6 @@ namespace {
"Generate Clang AST statement nodes"),
clEnumValN(GenLLVMCConf, "gen-llvmc",
"Generate LLVMC configuration library"),
- clEnumValN(GenEDHeader, "gen-enhanced-disassembly-header",
- "Generate enhanced disassembly info header"),
clEnumValN(GenEDInfo, "gen-enhanced-disassembly-info",
"Generate enhanced disassembly info"),
clEnumValN(GenArmNeon, "gen-arm-neon",
@@ -301,9 +299,6 @@ int main(int argc, char **argv) {
case GenLLVMCConf:
LLVMCConfigurationEmitter(Records).run(Out);
break;
- case GenEDHeader:
- EDEmitter(Records).runHeader(Out);
- break;
case GenEDInfo:
EDEmitter(Records).run(Out);
break;