summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/PIC16/PIC16PAN.h4
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");
}
}
OpenPOWER on IntegriCloud