[llvm-commits] CVS: llvm/lib/Target/X86/X86TargetMachine.cpp

Chris Lattner lattner at cs.uiuc.edu
Tue Nov 2 07:28:11 PST 2004



Changes in directory llvm/lib/Target/X86:

X86TargetMachine.cpp updated: 1.70 -> 1.71
---
Log message:

Fix a warning



---
Diffs of the changes:  (+2 -1)

Index: llvm/lib/Target/X86/X86TargetMachine.cpp
diff -u llvm/lib/Target/X86/X86TargetMachine.cpp:1.70 llvm/lib/Target/X86/X86TargetMachine.cpp:1.71
--- llvm/lib/Target/X86/X86TargetMachine.cpp:1.70	Mon Nov  1 14:10:20 2004
+++ llvm/lib/Target/X86/X86TargetMachine.cpp	Tue Nov  2 09:27:57 2004
@@ -31,7 +31,8 @@
 /// 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),






More information about the llvm-commits mailing list