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
This commit is contained in:
Craig Topper 2013-07-17 03:11:32 +00:00
parent f7e73accb7
commit 8de25f031d
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ static cl::opt<bool, true>
VerifyRegAlloc("verify-regalloc", cl::location(RegAllocBase::VerifyEnabled),
cl::desc("Verify during register allocation"));
const char *RegAllocBase::TimerGroupName = "Register Allocation";
const char RegAllocBase::TimerGroupName[] = "Register Allocation";
bool RegAllocBase::VerifyEnabled = false;
//===----------------------------------------------------------------------===//

View File

@ -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.