Add 'const' qualifier to some arrays.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2013-07-15 08:02:13 +00:00
parent f67c7d7e8c
commit 3c70fcf02b
3 changed files with 4 additions and 3 deletions

View File

@@ -298,7 +298,7 @@ struct SortInstByName {
/// target, ordered by their enum value.
void CodeGenTarget::ComputeInstrsByEnum() const {
// The ordering here must match the ordering in TargetOpcodes.h.
const char *const FixedInstrs[] = {
static const char *const FixedInstrs[] = {
"PHI",
"INLINEASM",
"PROLOG_LABEL",