From cfbb2f074da2842e42956d3b4c21e91b37f36f06 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 25 Mar 2008 21:45:14 +0000 Subject: 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 --- include/llvm/CodeGen/MachineModuleInfo.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/llvm/CodeGen/MachineModuleInfo.h') diff --git a/include/llvm/CodeGen/MachineModuleInfo.h b/include/llvm/CodeGen/MachineModuleInfo.h index 8d0a34b1f3..2cd4e23781 100644 --- a/include/llvm/CodeGen/MachineModuleInfo.h +++ b/include/llvm/CodeGen/MachineModuleInfo.h @@ -265,7 +265,7 @@ public: /// getAnchorString - Return a string used to label this descriptor's anchor. /// - static const char *AnchorString; + static const char *const AnchorString; virtual const char *getAnchorString() const; #ifndef NDEBUG @@ -664,7 +664,7 @@ public: /// getAnchorString - Return a string used to label this descriptor's anchor. /// - static const char *AnchorString; + static const char *const AnchorString; virtual const char *getAnchorString() const; #ifndef NDEBUG @@ -701,7 +701,7 @@ public: /// getAnchorString - Return a string used to label this descriptor's anchor. /// - static const char *AnchorString; + static const char *const AnchorString; virtual const char *getAnchorString() const; #ifndef NDEBUG -- cgit v1.2.3-18-g5258