summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2005-01-02 04:23:12 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2005-01-02 04:23:12 +0000
commit2cf40e142c91f1a97066566cb8b1b75a175ed6f1 (patch)
tree8788ab1f1dc3742fa0eae1bc1a04aa30a84c5a9d /llvm/lib/Target/X86/X86TargetMachine.cpp
parent733aac12704084253fb7ef221d6462805a317aac (diff)
downloadbcm5719-llvm-2cf40e142c91f1a97066566cb8b1b75a175ed6f1.tar.gz
bcm5719-llvm-2cf40e142c91f1a97066566cb8b1b75a175ed6f1.zip
Eliminate the use of the global variable hack in the X86 target that was used
to get Visual Studio to link in X86.lib to the executables that need it. There is another way of doing it. llvm-svn: 19252
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/X86/X86TargetMachine.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 0e3eea43924..24406d5be97 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/lib/Target/X86/X86TargetMachine.cpp
@@ -27,13 +27,6 @@ using namespace llvm;
X86VectorEnum llvm::X86Vector = NoSSE;
-/// X86TargetMachineModule - 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 X86TargetMachineModule;
-int X86TargetMachineModule = 0;
-
namespace {
cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),
cl::desc("Disable the ssa-based peephole optimizer "
OpenPOWER on IntegriCloud