8229002: Shenandoah: Missing node types in ShenandoahLoadReferenceBarrier::needs_barrier_impl()
Reviewed-by: shade
This commit is contained in:
parent
66dc6cf25b
commit
afdd397471
@ -3087,6 +3087,7 @@ bool ShenandoahLoadReferenceBarrierNode::needs_barrier_impl(PhaseGVN* phase, Nod
|
||||
return needs_barrier_impl(phase, n->in(1), visited);
|
||||
case Op_LoadN:
|
||||
return true;
|
||||
case Op_CMoveN:
|
||||
case Op_CMoveP:
|
||||
return needs_barrier_impl(phase, n->in(2), visited) ||
|
||||
needs_barrier_impl(phase, n->in(3), visited);
|
||||
@ -3238,6 +3239,7 @@ ShenandoahLoadReferenceBarrierNode::Strength ShenandoahLoadReferenceBarrierNode:
|
||||
case Op_StrComp:
|
||||
case Op_StrIndexOf:
|
||||
case Op_StrIndexOfChar:
|
||||
case Op_HasNegatives:
|
||||
if (!ShenandoahOptimizeStableFinals) {
|
||||
strength = WEAK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user