diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-08-08 17:00:59 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-08-08 17:00:59 +0000 |
commit | 08e30fd3d29e5f23c37d9ca760a6f85ff1a921f9 (patch) | |
tree | 7ca33d0d5266f7f2df4f3526e5af27d5f923694b /llvm/lib | |
parent | 40df32f3d9f99c36c9e0e7acbf5113cea5cf12ca (diff) | |
download | bcm5719-llvm-08e30fd3d29e5f23c37d9ca760a6f85ff1a921f9.tar.gz bcm5719-llvm-08e30fd3d29e5f23c37d9ca760a6f85ff1a921f9.zip |
AArch64A57FPLoadBalancing.cpp: Define ColorNames in !NDEBUG.
llvm-svn: 215226
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp b/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp index 195a48e54a5..705679b570e 100644 --- a/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp +++ b/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp @@ -107,7 +107,9 @@ namespace { /// A "color", which is either even or odd. Yes, these aren't really colors /// but the algorithm is conceptually doing two-color graph coloring. enum class Color { Even, Odd }; +#ifndef NDEBUG static const char *ColorNames[2] = { "Even", "Odd" }; +#endif class Chain; |