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 | e6c94c8d3a75cbc5e27597583d5af27ff0fb3eb4 (patch) | |
| tree | 4293bcbfe9871e75421e33faeb736574f0d6db7f /lib/Target | |
| parent | bc38ca7321b4ca32580e397a9b7df970688560c0 (diff) | |
| download | external_llvm-e6c94c8d3a75cbc5e27597583d5af27ff0fb3eb4.zip external_llvm-e6c94c8d3a75cbc5e27597583d5af27ff0fb3eb4.tar.gz external_llvm-e6c94c8d3a75cbc5e27597583d5af27ff0fb3eb4.tar.bz2 | |
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/PIC16/PIC16PAN.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/PIC16/PIC16PAN.h b/lib/Target/PIC16/PIC16PAN.h index f0e1ba0..a14671e 100644 --- a/lib/Target/PIC16/PIC16PAN.h +++ b/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"); } } |
