mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-13 22:58:50 +00:00
remove option from tablegen for building static header.
llvm-svn: 108893
This commit is contained in:
parent
b677cbc9b2
commit
7dcf0197cd
@ -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";
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user