1.1 --- a/src/share/vm/opto/idealGraphPrinter.hpp Tue May 14 11:34:30 2013 +0400 1.2 +++ b/src/share/vm/opto/idealGraphPrinter.hpp Tue May 14 09:41:12 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -41,9 +41,8 @@ 1.11 class InlineTree; 1.12 class ciMethod; 1.13 1.14 -class IdealGraphPrinter 1.15 -{ 1.16 -private: 1.17 +class IdealGraphPrinter : public CHeapObj<mtCompiler> { 1.18 + private: 1.19 1.20 static const char *INDENT; 1.21 static const char *TOP_ELEMENT; 1.22 @@ -121,7 +120,7 @@ 1.23 IdealGraphPrinter(); 1.24 ~IdealGraphPrinter(); 1.25 1.26 -public: 1.27 + public: 1.28 1.29 static void clean_up(); 1.30 static IdealGraphPrinter *printer(); 1.31 @@ -135,8 +134,6 @@ 1.32 void print_method(Compile* compile, const char *name, int level=1, bool clear_nodes = false); 1.33 void print(Compile* compile, const char *name, Node *root, int level=1, bool clear_nodes = false); 1.34 void print_xml(const char *name); 1.35 - 1.36 - 1.37 }; 1.38 1.39 #endif