1/* PR/10239 */ 2 3enum node_type 4{ 5 INITIAL = 0, FREE, 6 PRECOLORED, 7 SIMPLIFY, SIMPLIFY_SPILL, SIMPLIFY_FAT, FREEZE, SPILL, 8 SELECT, 9 SPILLED, COALESCED, COLORED, 10 LAST_NODE_TYPE 11}; 12 13inline void 14put_web (enum node_type type) 15{ 16 switch (type) 17 { 18 case INITIAL: 19 case FREE: 20 case FREEZE: 21 case SPILL: 22 foo (); 23 break; 24 case PRECOLORED: 25 bar (); 26 break; 27 default: 28 baz (); 29 } 30} 31 32void 33reset_lists () 34{ 35 put_web (INITIAL); 36} 37