mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6384206: Phis which are later unneeded are impairing our ability to inline based on static types
Reviewed-by: rasbold, jrose
This commit is contained in:
parent
eee15b163e
commit
4b1e242299
18 changed files with 1082 additions and 401 deletions
|
@ -587,7 +587,7 @@ PreserveJVMState::PreserveJVMState(GraphKit* kit, bool clone_map) {
|
|||
#ifdef ASSERT
|
||||
_bci = kit->bci();
|
||||
Parse* parser = kit->is_Parse();
|
||||
int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
|
||||
int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
|
||||
_block = block;
|
||||
#endif
|
||||
}
|
||||
|
@ -596,7 +596,7 @@ PreserveJVMState::~PreserveJVMState() {
|
|||
#ifdef ASSERT
|
||||
assert(kit->bci() == _bci, "bci must not shift");
|
||||
Parse* parser = kit->is_Parse();
|
||||
int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->pre_order();
|
||||
int block = (parser == NULL || parser->block() == NULL) ? -1 : parser->block()->rpo();
|
||||
assert(block == _block, "block must not shift");
|
||||
#endif
|
||||
kit->set_map(_map);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue