summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/CppBackend/CPPBackend.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-16 01:55:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-16 01:55:13 +0000
commitc151c51ea0606be966b9813feeb8b45aef2d6ffd (patch)
treebbaefe98eaab8917668507581c98d58a6e73e452 /llvm/lib/Target/CppBackend/CPPBackend.cpp
parent942c0e52434ff5fa5d5d629cce9eb94c0cb20eab (diff)
downloadbcm5719-llvm-c151c51ea0606be966b9813feeb8b45aef2d6ffd.tar.gz
bcm5719-llvm-c151c51ea0606be966b9813feeb8b45aef2d6ffd.zip
Kill off <TARGET>MachineModule variables, and <TARGETASMPRINTER>ForceLink
variables. - Module initialization functions supplanted the need for these. llvm-svn: 75886
Diffstat (limited to 'llvm/lib/Target/CppBackend/CPPBackend.cpp')
-rw-r--r--llvm/lib/Target/CppBackend/CPPBackend.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Target/CppBackend/CPPBackend.cpp b/llvm/lib/Target/CppBackend/CPPBackend.cpp
index 7b2995f9b02..08e1540c1e1 100644
--- a/llvm/lib/Target/CppBackend/CPPBackend.cpp
+++ b/llvm/lib/Target/CppBackend/CPPBackend.cpp
@@ -72,14 +72,6 @@ static cl::opt<std::string> NameToGenerate("cppfor", cl::Optional,
cl::desc("Specify the name of the thing to generate"),
cl::init("!bad!"));
-/// CppBackendTargetMachineModule - Note that this is used on hosts
-/// that cannot link in a library unless there are references into the
-/// library. In particular, it seems that it is not possible to get
-/// things to work on Win32 without this. Though it is unused, do not
-/// remove it.
-extern "C" int CppBackendTargetMachineModule;
-int CppBackendTargetMachineModule = 0;
-
// Register the target.
extern Target TheCppBackendTarget;
static RegisterTarget<CPPTargetMachine> X(TheCppBackendTarget, "cpp", "C++ backend");
OpenPOWER on IntegriCloud