[llvm-commits] [llvm] r130193 - /llvm/trunk/lib/VMCore/Function.cpp

Duncan Sands baldrick at free.fr
Tue Apr 26 00:30:10 PDT 2011


Author: baldrick
Date: Tue Apr 26 02:30:10 2011
New Revision: 130193

URL: http://llvm.org/viewvc/llvm-project?rev=130193&view=rev
Log:
Another example of a static table that wasn't marked static.

Modified:
    llvm/trunk/lib/VMCore/Function.cpp

Modified: llvm/trunk/lib/VMCore/Function.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Function.cpp?rev=130193&r1=130192&r2=130193&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Function.cpp (original)
+++ llvm/trunk/lib/VMCore/Function.cpp Tue Apr 26 02:30:10 2011
@@ -363,7 +363,7 @@
 }
 
 bool Intrinsic::isOverloaded(ID id) {
-  const bool OTable[] = {
+  static const bool OTable[] = {
     false,
 #define GET_INTRINSIC_OVERLOAD_TABLE
 #include "llvm/Intrinsics.gen"





More information about the llvm-commits mailing list