aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86TargetMachine.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-02 15:27:57 +0000
committerChris Lattner <sabre@nondot.org>2004-11-02 15:27:57 +0000
commita62869b064f58d085a8426184a8abb4637104746 (patch)
treeedb833c4d1d19ea23cfd81113023ac645d0d9f3a /lib/Target/X86/X86TargetMachine.cpp
parent983baf472f88ddb3eaf3f3e0baad9640d515910a (diff)
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86TargetMachine.cpp b/lib/Target/X86/X86TargetMachine.cpp
index 62440ee3fb..26ffc19123 100644
--- a/lib/Target/X86/X86TargetMachine.cpp
+++ b/lib/Target/X86/X86TargetMachine.cpp
@@ -31,7 +31,8 @@ X86VectorEnum llvm::X86Vector = NoSSE;
/// 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 = 0;
+extern "C" int X86TargetMachineModule;
+int X86TargetMachineModule = 0;
namespace {
cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),