6812217: Base memory of MergeMem node violates assert during killing expanded AllocateArray node
The assert in MergeMemNode::memory_at() misses the case when address is TOP. Reviewed-by: never
This commit is contained in:
parent
562aedc884
commit
afa5d117b7
@ -4077,6 +4077,7 @@ Node* MergeMemNode::memory_at(uint alias_idx) const {
|
||||
n = base_memory();
|
||||
assert(Node::in_dump()
|
||||
|| n == NULL || n->bottom_type() == Type::TOP
|
||||
|| n->adr_type() == NULL // address is TOP
|
||||
|| n->adr_type() == TypePtr::BOTTOM
|
||||
|| n->adr_type() == TypeRawPtr::BOTTOM
|
||||
|| Compile::current()->AliasLevel() == 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user