aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/PseudoSourceValue.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-03-25 21:45:14 +0000
committerDan Gohman <gohman@apple.com>2008-03-25 21:45:14 +0000
commitcfbb2f074da2842e42956d3b4c21e91b37f36f06 (patch)
tree189c62a04edbe3e10e114d655bb008c898ed7e20 /lib/CodeGen/PseudoSourceValue.cpp
parent62c7b8c3713f7178991fac299abcb04e3818ca65 (diff)
downloadexternal_llvm-cfbb2f074da2842e42956d3b4c21e91b37f36f06.zip
external_llvm-cfbb2f074da2842e42956d3b4c21e91b37f36f06.tar.gz
external_llvm-cfbb2f074da2842e42956d3b4c21e91b37f36f06.tar.bz2
A quick nm audit turned up several fixed tables and objects that were
marked read-write. Use const so that they can be allocated in a read-only segment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PseudoSourceValue.cpp')
-rw-r--r--lib/CodeGen/PseudoSourceValue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/PseudoSourceValue.cpp b/lib/CodeGen/PseudoSourceValue.cpp
index 5c5b1d6..c62e49a 100644
--- a/lib/CodeGen/PseudoSourceValue.cpp
+++ b/lib/CodeGen/PseudoSourceValue.cpp
@@ -29,7 +29,7 @@ namespace llvm {
const PseudoSourceValue *PseudoSourceValue::getJumpTable()
{ return &(*PSVs)[4]; }
- static const char *PSVNames[] = {
+ static const char *const PSVNames[] = {
"FixedStack",
"Stack",
"GOT",