Skip to content

Commit

Permalink
8330262: C2: simplify transfer of GC barrier data from Ideal to Mach …
Browse files Browse the repository at this point in the history
…nodes

Reviewed-by: eosterlund, kvn
  • Loading branch information
robcasloz committed Apr 17, 2024
1 parent 01bda27 commit 9d63fee
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/hotspot/share/opto/matcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1890,11 +1890,7 @@ MachNode *Matcher::ReduceInst( State *s, int rule, Node *&mem ) {
}

// Have mach nodes inherit GC barrier data
if (leaf->is_LoadStore()) {
mach->set_barrier_data(leaf->as_LoadStore()->barrier_data());
} else if (leaf->is_Mem()) {
mach->set_barrier_data(leaf->as_Mem()->barrier_data());
}
mach->set_barrier_data(MemNode::barrier_data(leaf));

return ex;
}
Expand Down

1 comment on commit 9d63fee

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.