mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-30 07:00:45 +00:00
Move CBackend and CppBackend MC initialization to TargetInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135982 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
63f8dde482
commit
f16f3476a2
@ -64,8 +64,6 @@ extern "C" void LLVMInitializeCBackendTarget() {
|
||||
RegisterTargetMachine<CTargetMachine> X(TheCBackendTarget);
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeCBackendTargetMC() {}
|
||||
|
||||
namespace {
|
||||
class CBEMCAsmInfo : public MCAsmInfo {
|
||||
public:
|
||||
|
@ -17,3 +17,5 @@ Target llvm::TheCBackendTarget;
|
||||
extern "C" void LLVMInitializeCBackendTargetInfo() {
|
||||
RegisterTarget<> X(TheCBackendTarget, "c", "C backend");
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeCBackendTargetMC() {}
|
||||
|
@ -77,8 +77,6 @@ extern "C" void LLVMInitializeCppBackendTarget() {
|
||||
RegisterTargetMachine<CPPTargetMachine> X(TheCppBackendTarget);
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeCppBackendTargetMC() {}
|
||||
|
||||
namespace {
|
||||
typedef std::vector<Type*> TypeList;
|
||||
typedef std::map<Type*,std::string> TypeMap;
|
||||
|
@ -24,3 +24,5 @@ extern "C" void LLVMInitializeCppBackendTargetInfo() {
|
||||
"C++ backend",
|
||||
&CppBackend_TripleMatchQuality);
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeCppBackendTargetMC() {}
|
||||
|
Loading…
Reference in New Issue
Block a user