aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Sparc/SparcTargetMachine.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/Sparc/SparcTargetMachine.cpp
parent4e547ec8bf9b6eef4c25c44ce5d097fd0a5b0e66 (diff)
downloadexternal_llvm-0cf0c3746995e8b95fc055cdf8e7210200cb942d.tar.gz
external_llvm-0cf0c3746995e8b95fc055cdf8e7210200cb942d.tar.bz2
external_llvm-0cf0c3746995e8b95fc055cdf8e7210200cb942d.zip
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/Sparc/SparcTargetMachine.cpp')
-rw-r--r--lib/Target/Sparc/SparcTargetMachine.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/Target/Sparc/SparcTargetMachine.cpp b/lib/Target/Sparc/SparcTargetMachine.cpp
index 1ca34325a7..63da5af51e 100644
--- a/lib/Target/Sparc/SparcTargetMachine.cpp
+++ b/lib/Target/Sparc/SparcTargetMachine.cpp
@@ -16,7 +16,7 @@
#include "llvm/PassManager.h"
#include "llvm/CodeGen/MachineFunction.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 <iostream>
@@ -27,14 +27,6 @@ namespace {
RegisterTarget<SparcV8TargetMachine> X("sparcv8"," SPARC V8 (experimental)");
}
-// allocateSparcV8TargetMachine - Allocate and return a subclass of
-// TargetMachine that implements the SparcV8 backend.
-//
-TargetMachine *llvm::allocateSparcV8TargetMachine(const Module &M,
- IntrinsicLowering *IL) {
- return new SparcV8TargetMachine(M, IL);
-}
-
/// SparcV8TargetMachine ctor - Create an ILP32 architecture model
///
SparcV8TargetMachine::SparcV8TargetMachine(const Module &M,