diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-08-21 16:17:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-08-21 16:17:36 +0000 |
commit | 2f0e8f55f549b7aa0d9439fad476e38c55bc9877 (patch) | |
tree | aeda901746d29398c9d88a8ded1e0b42fed12ab9 /llvm/lib/Target | |
parent | 8e5edd81bb8beccc3d90b61800709c0d9b897f24 (diff) | |
download | bcm5719-llvm-2f0e8f55f549b7aa0d9439fad476e38c55bc9877.tar.gz bcm5719-llvm-2f0e8f55f549b7aa0d9439fad476e38c55bc9877.zip |
Fix -Asserts warning.
llvm-svn: 79636
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/PIC16/PIC16PAN.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16PAN.h b/llvm/lib/Target/PIC16/PIC16PAN.h index f0e1ba0de07..a14671e755f 100644 --- a/llvm/lib/Target/PIC16/PIC16PAN.h +++ b/llvm/lib/Target/PIC16/PIC16PAN.h @@ -433,12 +433,12 @@ namespace PIC16Overlay { inline static std::string getSectionNameForColor(unsigned Color) { switch (Color) { + default: + assert( 0 && "Color not supported"); case PIC16Overlay::GREEN: return "GREEN"; case PIC16Overlay::GREEN_IL: return "GREEN_IL"; - default: - assert( 0 && "Color not supported"); } } |