[llvm-commits] [llvm-gcc-4.0] r42289 - /llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Mon Sep 24 20:21:18 PDT 2007
Author: void
Date: Mon Sep 24 22:21:18 2007
New Revision: 42289
URL: http://llvm.org/viewvc/llvm-project?rev=42289&view=rev
Log:
Oops!
Modified:
llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp?rev=42289&r1=42288&r2=42289&view=diff
==============================================================================
--- llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.0/trunk/gcc/llvm-backend.cpp Mon Sep 24 22:21:18 2007
@@ -1060,7 +1060,7 @@
} else {
// If the global has a name, prevent multiple vars with the same name from
// being created.
- GlobalVariable *GVE = TheModule->getGlobalVariable(Name, true);
+ GlobalVariable *GVE = TheModule->getGlobalVariable(Name);
// And Objective-C "@protocol" will create a decl for the
// protocol metadata and then when the protocol is
More information about the llvm-commits
mailing list