diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-17 03:11:32 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-17 03:11:32 +0000 |
commit | 9fdc70e846efed70cd25cacc0e08d2b2531647ee (patch) | |
tree | ef8c6f4006de9db00d0120b5c9f8662dbe180b3f /llvm/lib/CodeGen/RegAllocBase.h | |
parent | 212c80ac5dd13b79cdfe5ee39b7bc17a200f47cd (diff) | |
download | bcm5719-llvm-9fdc70e846efed70cd25cacc0e08d2b2531647ee.tar.gz bcm5719-llvm-9fdc70e846efed70cd25cacc0e08d2b2531647ee.zip |
Make constant string pointer into an array to remove a pointer lookup for every access.
llvm-svn: 186482
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBase.h')
-rw-r--r-- | llvm/lib/CodeGen/RegAllocBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegAllocBase.h b/llvm/lib/CodeGen/RegAllocBase.h index 064e40f06b7..ccaabbad44d 100644 --- a/llvm/lib/CodeGen/RegAllocBase.h +++ b/llvm/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. |