summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-04-26 07:30:10 +0000
committerDuncan Sands <baldrick@free.fr>2011-04-26 07:30:10 +0000
commitd4ea3ec87f76f556c30c4cd47d7aba9876af17ba (patch)
tree0e4d3e0e639bcd7cafe25972b78ae04192b2ee5a /llvm/lib
parent189ca1498f0f97f0e728a1716edf574a04226bea (diff)
downloadbcm5719-llvm-d4ea3ec87f76f556c30c4cd47d7aba9876af17ba.tar.gz
bcm5719-llvm-d4ea3ec87f76f556c30c4cd47d7aba9876af17ba.zip
Another example of a static table that wasn't marked static.
llvm-svn: 130193
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp
index a5ec73d851d..013c4587c9f 100644
--- a/llvm/lib/VMCore/Function.cpp
+++ b/llvm/lib/VMCore/Function.cpp
@@ -363,7 +363,7 @@ const FunctionType *Intrinsic::getType(LLVMContext &Context,
}
bool Intrinsic::isOverloaded(ID id) {
- const bool OTable[] = {
+ static const bool OTable[] = {
false,
#define GET_INTRINSIC_OVERLOAD_TABLE
#include "llvm/Intrinsics.gen"
OpenPOWER on IntegriCloud