8015441: runThese crashed with assert(opcode == Op_ConP || opcode == Op_ThreadLocal || opcode == Op_CastX2P ..) failed: sanity
Relax the assert to accept any raw ptr types. Reviewed-by: roland
This commit is contained in:
parent
6a17746b6c
commit
ff008d0615
@ -2202,7 +2202,7 @@ Node* ConnectionGraph::get_addp_base(Node *addp) {
|
||||
int opcode = uncast_base->Opcode();
|
||||
assert(opcode == Op_ConP || opcode == Op_ThreadLocal ||
|
||||
opcode == Op_CastX2P || uncast_base->is_DecodeNarrowPtr() ||
|
||||
(uncast_base->is_Mem() && uncast_base->bottom_type() == TypeRawPtr::NOTNULL) ||
|
||||
(uncast_base->is_Mem() && (uncast_base->bottom_type()->isa_rawptr() != NULL)) ||
|
||||
(uncast_base->is_Proj() && uncast_base->in(0)->is_Allocate()), "sanity");
|
||||
}
|
||||
return base;
|
||||
|
Loading…
x
Reference in New Issue
Block a user