Skip to content
Permalink
Browse files
8252237: C2: Call to compute_separating_interferences has wrong argum…
…ent order

Reviewed-by: kvn, thartmann
  • Loading branch information
Rahul Raghavan committed Apr 30, 2021
1 parent 50fa162 commit 928d63242e614676f96bd3e6bfdee499779d0d4f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/opto/coalesce.cpp
@@ -535,7 +535,7 @@ void PhaseConservativeCoalesce::union_helper( Node *lr1_node, Node *lr2_node, ui

// Factored code from copy_copy that computes extra interferences from
// lengthening a live range by double-coalescing.
uint PhaseConservativeCoalesce::compute_separating_interferences(Node *dst_copy, Node *src_copy, Block *b, uint bindex, RegMask &rm, uint reg_degree, uint rm_size, uint lr1, uint lr2 ) {
uint PhaseConservativeCoalesce::compute_separating_interferences(Node *dst_copy, Node *src_copy, Block *b, uint bindex, RegMask &rm, uint rm_size, uint reg_degree, uint lr1, uint lr2 ) {

assert(!lrgs(lr1)._fat_proj, "cannot coalesce fat_proj");
assert(!lrgs(lr2)._fat_proj, "cannot coalesce fat_proj");

1 comment on commit 928d632

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 928d632 Apr 30, 2021

Please sign in to comment.