mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
6731641: assert(m->adr_type() == mach->adr_type(),"matcher should not change adr type")
Fixed few addP node type and narrow oop type problems. Reviewed-by: rasbold, never
This commit is contained in:
parent
5e94e3bf69
commit
897278fce0
11 changed files with 87 additions and 22 deletions
|
@ -695,6 +695,8 @@ const Type *AddPNode::mach_bottom_type( const MachNode* n) {
|
|||
guarantee(tptr == NULL, "must be only one pointer operand");
|
||||
tptr = et->isa_oopptr();
|
||||
guarantee(tptr != NULL, "non-int operand must be pointer");
|
||||
if (tptr->higher_equal(tp->add_offset(tptr->offset())))
|
||||
tp = tptr; // Set more precise type for bailout
|
||||
continue;
|
||||
}
|
||||
if ( eti->_hi != eti->_lo ) goto bottom_out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue