equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
41 class InlineTree; |
41 class InlineTree; |
42 class ciMethod; |
42 class ciMethod; |
43 |
43 |
44 class IdealGraphPrinter |
44 class IdealGraphPrinter |
45 { |
45 { |
46 private: |
|
47 |
|
48 enum State |
|
49 { |
|
50 Invalid, |
|
51 Valid, |
|
52 New |
|
53 }; |
|
54 |
|
55 private: |
46 private: |
56 |
47 |
57 static const char *INDENT; |
48 static const char *INDENT; |
58 static const char *TOP_ELEMENT; |
49 static const char *TOP_ELEMENT; |
59 static const char *GROUP_ELEMENT; |
50 static const char *GROUP_ELEMENT; |