projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc38ca7
)
Fix -Asserts warning.
author
Daniel Dunbar
<daniel@zuster.org>
Fri, 21 Aug 2009 16:17:36 +0000
(16:17 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Fri, 21 Aug 2009 16:17:36 +0000
(16:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PIC16/PIC16PAN.h
patch
|
blob
|
history
diff --git
a/lib/Target/PIC16/PIC16PAN.h
b/lib/Target/PIC16/PIC16PAN.h
index f0e1ba0de07bb1fe68c8390f1216e1b9012f5f96..a14671e755f1c8549592fe941adc2a6cf0a658a5 100644
(file)
--- 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");
}
}