mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8233389: Add PrintIdeal to compiler directives
Add PrintIdeal as a compiler directive in order to enable PrintIdeal for only a single method. Reviewed-by: roland, neliasso, vlivanov, thartmann
This commit is contained in:
parent
c4b3dcf8c1
commit
d405f6abb6
3 changed files with 7 additions and 2 deletions
|
@ -408,6 +408,7 @@ class Compile : public Phase {
|
|||
bool _print_intrinsics; // True if we should print intrinsics for this compilation
|
||||
#ifndef PRODUCT
|
||||
bool _trace_opto_output;
|
||||
bool _print_ideal;
|
||||
bool _parsed_irreducible_loop; // True if ciTypeFlow detected irreducible loops during parsing
|
||||
#endif
|
||||
bool _has_irreducible_loop; // Found irreducible loops
|
||||
|
@ -724,6 +725,7 @@ class Compile : public Phase {
|
|||
|
||||
#ifndef PRODUCT
|
||||
bool trace_opto_output() const { return _trace_opto_output; }
|
||||
bool print_ideal() const { return _print_ideal; }
|
||||
bool parsed_irreducible_loop() const { return _parsed_irreducible_loop; }
|
||||
void set_parsed_irreducible_loop(bool z) { _parsed_irreducible_loop = z; }
|
||||
int _in_dump_cnt; // Required for dumping ir nodes.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue