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 | 1fb6268b5b9e65a80ae43a18e081fc17c4b07899 (patch) | |
| tree | 4293bcbfe9871e75421e33faeb736574f0d6db7f /lib/Target | |
| parent | 36c04b3f65b00f72d29ec25d7b58846f7a413d80 (diff) | |
| download | external_llvm-1fb6268b5b9e65a80ae43a18e081fc17c4b07899.zip external_llvm-1fb6268b5b9e65a80ae43a18e081fc17c4b07899.tar.gz external_llvm-1fb6268b5b9e65a80ae43a18e081fc17c4b07899.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"); } } |
