From 607b8ebfb849e3257d5ab64fae3ae62229eadb6f Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 25 Apr 2011 22:14:33 +0000 Subject: [PATCH] mark a large static table static. Pointed out by Michael Ilseman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130160 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 00d1d787324..a5ec73d851d 100644 --- a/lib/VMCore/Function.cpp +++ b/lib/VMCore/Function.cpp @@ -328,7 +328,7 @@ unsigned Function::getIntrinsicID() const { std::string Intrinsic::getName(ID id, const Type **Tys, unsigned numTys) { assert(id < num_intrinsics && "Invalid intrinsic ID!"); - const char * const Table[] = { + static const char * const Table[] = { "not_intrinsic", #define GET_INTRINSIC_NAME_TABLE #include "llvm/Intrinsics.gen" -- 2.34.1