diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-15 08:02:13 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-15 08:02:13 +0000 |
commit | 06b3b6651ec88f21eb29a834bde16c0f8d9c3d2c (patch) | |
tree | b1bd701acdfae7922d3f8b99a204d80ecb87da9c /llvm/utils/TableGen/CodeGenTarget.cpp | |
parent | e952ad0bc10e7794a7c3c3f460adbdfa35df1247 (diff) | |
download | bcm5719-llvm-06b3b6651ec88f21eb29a834bde16c0f8d9c3d2c.tar.gz bcm5719-llvm-06b3b6651ec88f21eb29a834bde16c0f8d9c3d2c.zip |
Add 'const' qualifier to some arrays.
llvm-svn: 186312
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
-rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index a85ad0978ca..b2c883da0ed 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -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", |