mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8257460: Further CompilerOracle cleanup
Reviewed-by: kvn, redestad, thartmann
This commit is contained in:
parent
29d90b952c
commit
015e6e58c5
4 changed files with 49 additions and 44 deletions
|
@ -149,7 +149,11 @@ class CompilerOracle : AllStatic {
|
|||
// Check if method has option and value set. If yes, overwrite value and return true,
|
||||
// otherwise leave value unchanged and return false.
|
||||
template<typename T>
|
||||
static bool has_option_value(const methodHandle& method, enum CompileCommand option, T& value, bool verfiy_type = false);
|
||||
static bool has_option_value(const methodHandle& method, enum CompileCommand option, T& value);
|
||||
|
||||
// This check is currently only needed by whitebox API
|
||||
template<typename T>
|
||||
static bool option_matches_type(enum CompileCommand option, T& value);
|
||||
|
||||
// Reads from string instead of file
|
||||
static void parse_from_string(const char* option_string, void (*parser)(char*));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue