summaryrefslogtreecommitdiff
path: root/lib/Target/XCore/XCoreTargetMachine.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
commit64cc97212346992892b6c92158c08cd93149a882 (patch)
treed1e7a0e76e742fc614c088f868e8b595ff04f9db /lib/Target/XCore/XCoreTargetMachine.cpp
parent0e0979ecdaabcc78752f8a18f0a092a84f07a057 (diff)
downloadllvm-64cc97212346992892b6c92158c08cd93149a882.tar.gz
llvm-64cc97212346992892b6c92158c08cd93149a882.tar.bz2
llvm-64cc97212346992892b6c92158c08cd93149a882.tar.xz
Kill off <TARGET>MachineModule variables, and <TARGETASMPRINTER>ForceLink
variables. - Module initialization functions supplanted the need for these. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75886 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetMachine.cpp')
-rw-r--r--lib/Target/XCore/XCoreTargetMachine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/XCore/XCoreTargetMachine.cpp b/lib/Target/XCore/XCoreTargetMachine.cpp
index 776683dde5..83a870f64f 100644
--- a/lib/Target/XCore/XCoreTargetMachine.cpp
+++ b/lib/Target/XCore/XCoreTargetMachine.cpp
@@ -18,14 +18,6 @@
#include "llvm/Target/TargetMachineRegistry.h"
using namespace llvm;
-/// XCoreTargetMachineModule - 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 XCoreTargetMachineModule;
-int XCoreTargetMachineModule = 0;
-
extern Target TheXCoreTarget;
namespace {
// Register the target.