Mercurial > hg > graal-jvmci-8
changeset 21523:4b3b38415adf
make GraalRuntime::parse_argument public to avoid needing the firend declaration
author | Gilles Duboscq <gilles.m.duboscq@oracle.com> |
---|---|
date | Thu, 28 May 2015 18:06:26 +0200 |
parents | 28cbfacd0518 |
children | fad971028755 47bebae7454f 9c2c8e4b5333 |
files | src/share/vm/graal/graalRuntime.hpp |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.hpp Thu May 28 17:44:05 2015 +0200 +++ b/src/share/vm/graal/graalRuntime.hpp Thu May 28 18:06:26 2015 +0200 @@ -54,12 +54,8 @@ void set_filename(char* path) {_filename = path; _lineNo = 0;} }; -class GraalOptionParseClosure; - class GraalRuntime: public CHeapObj<mtCompiler> { - friend GraalOptionParseClosure; private: - static jobject _HotSpotGraalRuntime_instance; static bool _HotSpotGraalRuntime_initialized; @@ -73,8 +69,6 @@ */ static void parse_graal_options_file(OptionsValueTable* options); - static bool parse_argument(OptionsValueTable* options, const char* arg); - static void print_flags_helper(TRAPS); /** * Instantiates a service object, calls its default constructor and returns it. @@ -91,6 +85,8 @@ */ static OptionsValueTable* parse_arguments(); + static bool parse_argument(OptionsValueTable* options, const char* arg); + static void set_options(OptionsValueTable* options, TRAPS); /**