aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/SparcV9TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-07-11 04:17:10 +0000
committerChris Lattner <sabre@nondot.org>2004-07-11 04:17:10 +0000
commit0cf0c3746995e8b95fc055cdf8e7210200cb942d (patch)
tree1318b6e1d9891378e6f0d3c0cc592d9780eae07d /lib/Target/SparcV9/SparcV9TargetMachine.cpp
parent4e547ec8bf9b6eef4c25c44ce5d097fd0a5b0e66 (diff)
Delete the allocate*TargetMachine function, which is now dead .
The shared command line options are now in a header that makes sense. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/SparcV9TargetMachine.cpp')
-rw-r--r--lib/Target/SparcV9/SparcV9TargetMachine.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/SparcV9/SparcV9TargetMachine.cpp b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
index 6fbc685df9..9979bed28c 100644
--- a/lib/Target/SparcV9/SparcV9TargetMachine.cpp
+++ b/lib/Target/SparcV9/SparcV9TargetMachine.cpp
@@ -23,7 +23,7 @@
#include "llvm/CodeGen/MachineFunctionInfo.h"
#include "llvm/CodeGen/MachineCodeForInstruction.h"
#include "llvm/CodeGen/Passes.h"
-#include "llvm/Target/TargetMachineImpls.h"
+#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetMachineRegistry.h"
#include "llvm/Transforms/Scalar.h"
#include "MappingInfo.h"
@@ -287,11 +287,3 @@ void SparcV9JITInfo::addPassesToJITCompile(FunctionPassManager &PM) {
PM.add(createMachineFunctionPrinterPass(&std::cerr, "Final code:\n"));
}
-/// allocateSparcV9TargetMachine - Allocate and return a subclass of
-/// TargetMachine that implements the SparcV9 backend. (the
-/// llvm/CodeGen/SparcV9.h interface)
-///
-TargetMachine *llvm::allocateSparcV9TargetMachine(const Module &M,
- IntrinsicLowering *IL) {
- return new SparcV9TargetMachine(M, IL);
-}