forked from OSchip/llvm-project
Make constant string pointer into an array to remove a pointer lookup for every access.
llvm-svn: 186482
This commit is contained in:
parent
212c80ac5d
commit
9fdc70e846
|
@ -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;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue