Mercurial > hg > truffle
diff src/share/vm/opto/compile.hpp @ 20430:119875f0fc67
8056964: JDK-8055286 changes are incomplete.
Summary: added ccstr and ccstrlist types to compilerOracle 'option' command
Reviewed-by: roland
author | kvn |
---|---|
date | Tue, 02 Sep 2014 10:26:48 -0700 |
parents | 411e30e5fbb8 |
children | 9e69e8d1c900 |
line wrap: on
line diff
--- a/src/share/vm/opto/compile.hpp Fri Aug 29 15:32:16 2014 +0200 +++ b/src/share/vm/opto/compile.hpp Tue Sep 02 10:26:48 2014 -0700 @@ -598,6 +598,10 @@ bool method_has_option(const char * option) { return method() != NULL && method()->has_option(option); } + template<typename T> + bool method_has_option_value(const char * option, T& value) { + return method() != NULL && method()->has_option_value(option, value); + } #ifndef PRODUCT bool trace_opto_output() const { return _trace_opto_output; } bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }