From d4ea3ec87f76f556c30c4cd47d7aba9876af17ba Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Tue, 26 Apr 2011 07:30:10 +0000 Subject: Another example of a static table that wasn't marked static. llvm-svn: 130193 --- llvm/lib/VMCore/Function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib') 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" -- cgit v1.2.3