aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/RegAllocBase.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-17 03:11:32 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-17 03:11:32 +0000
commit8de25f031d8a8c63e0107f7fd0ac4af6b8ab600c (patch)
tree87c6729928d4585fd6803c7e5a3824c883f956ef /lib/CodeGen/RegAllocBase.h
parentf7e73accb7abe472a1febc38888133df6149cfed (diff)
downloadexternal_llvm-8de25f031d8a8c63e0107f7fd0ac4af6b8ab600c.zip
external_llvm-8de25f031d8a8c63e0107f7fd0ac4af6b8ab600c.tar.gz
external_llvm-8de25f031d8a8c63e0107f7fd0ac4af6b8ab600c.tar.bz2
Make constant string pointer into an array to remove a pointer lookup for every access.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/RegAllocBase.h')
-rw-r--r--lib/CodeGen/RegAllocBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h
index 064e40f..ccaabba 100644
--- a/lib/CodeGen/RegAllocBase.h
+++ b/lib/CodeGen/RegAllocBase.h
@@ -93,7 +93,7 @@ protected:
SmallVectorImpl<LiveInterval*> &splitLVRs) = 0;
// Use this group name for NamedRegionTimer.
- static const char *TimerGroupName;
+ static const char TimerGroupName[];
public:
/// VerifyEnabled - True when -verify-regalloc is given.