llvm.org GIT mirror llvm / e6c94c8
Fix -Asserts warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79636 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 10 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
432432
433433 inline static std::string getSectionNameForColor(unsigned Color) {
434434 switch (Color) {
435 default:
436 assert( 0 && "Color not supported");
435437 case PIC16Overlay::GREEN:
436438 return "GREEN";
437439 case PIC16Overlay::GREEN_IL:
438440 return "GREEN_IL";
439 default:
440 assert( 0 && "Color not supported");
441441 }
442442 }
443443