mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
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
This commit is contained in:
parent
e1c29be6f0
commit
444e2f530e
@ -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