Fix a warning
authorChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2004 15:27:57 +0000 (15:27 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 2 Nov 2004 15:27:57 +0000 (15:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17431 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86TargetMachine.cpp

index 62440ee3fbbd137131f99ef8875dfc5ad3caadc2..26ffc19123f2721c9e6c933f61a0020329ef34c4 100644 (file)
@@ -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),