diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-25 22:14:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-25 22:14:33 +0000 |
commit | 607b8ebfb849e3257d5ab64fae3ae62229eadb6f (patch) | |
tree | f06db3366a60fdd1c262d9b95265ffd9e420ff98 /lib/VMCore/Function.cpp | |
parent | 6311a55b9dae82977c892ef9bda7c39f781ea564 (diff) |
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
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index 00d1d78732..a5ec73d851 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" |