OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [20031031-2.c] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* PR/10239 */
2
 
3
enum 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
 
13
inline void
14
put_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
 
32
void
33
reset_lists ()
34
{
35
  put_web (INITIAL);
36
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.