mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8161651: Logic in ConnectionGraph::split_unique_types() wrongly assumes node always have memory input
Reviewed-by: thartmann, kvn
This commit is contained in:
parent
242936fe9a
commit
c52af628ab
1 changed files with 2 additions and 2 deletions
|
@ -3134,8 +3134,8 @@ void ConnectionGraph::split_unique_types(GrowableArray<Node *> &alloc_worklist,
|
|||
}
|
||||
} else {
|
||||
uint op = use->Opcode();
|
||||
if ((use->in(MemNode::Memory) == n) &&
|
||||
(op == Op_StrCompressedCopy || op == Op_StrInflatedCopy)) {
|
||||
if ((op == Op_StrCompressedCopy || op == Op_StrInflatedCopy) &&
|
||||
(use->in(MemNode::Memory) == n)) {
|
||||
// They overwrite memory edge corresponding to destination array,
|
||||
memnode_worklist.append_if_missing(use);
|
||||
} else if (!(op == Op_CmpP || op == Op_Conv2B ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue