mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8257498: Remove useless skeleton predicates
Reviewed-by: roland, thartmann
This commit is contained in:
parent
ab727f0a58
commit
aec037721c
6 changed files with 85 additions and 35 deletions
|
@ -391,6 +391,9 @@ void Compile::remove_useless_node(Node* dead) {
|
|||
if (dead->is_expensive()) {
|
||||
remove_expensive_node(dead);
|
||||
}
|
||||
if (dead->Opcode() == Op_Opaque4) {
|
||||
remove_skeleton_predicate_opaq(dead);
|
||||
}
|
||||
if (dead->for_post_loop_opts_igvn()) {
|
||||
remove_from_post_loop_opts_igvn(dead);
|
||||
}
|
||||
|
@ -566,6 +569,7 @@ Compile::Compile( ciEnv* ci_env, ciMethod* target, int osr_bci,
|
|||
_intrinsics (comp_arena(), 0, 0, NULL),
|
||||
_macro_nodes (comp_arena(), 8, 0, NULL),
|
||||
_predicate_opaqs (comp_arena(), 8, 0, NULL),
|
||||
_skeleton_predicate_opaqs (comp_arena(), 8, 0, NULL),
|
||||
_expensive_nodes (comp_arena(), 8, 0, NULL),
|
||||
_for_post_loop_igvn(comp_arena(), 8, 0, NULL),
|
||||
_congraph(NULL),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue