mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix -Asserts warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bc38ca7321
commit
e6c94c8d3a
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user