Skip to content
Permalink
Browse files
8244667: Shenandoah: SBC2Support::test_gc_state takes loop for wrong …
…control

Reviewed-by: rkennke
  • Loading branch information
shipilev committed May 8, 2020
1 parent 692f753 commit 15d7ef71028f36c5afb0456df161badf48d1ccde
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp
@@ -879,7 +879,7 @@ void ShenandoahBarrierC2Support::test_gc_state(Node*& ctrl, Node* raw_mem, Node*
ctrl = new IfTrueNode(gc_state_iff);
test_fail_ctrl = new IfFalseNode(gc_state_iff);

IdealLoopTree* loop = phase->get_loop(ctrl);
IdealLoopTree* loop = phase->get_loop(old_ctrl);
phase->register_control(gc_state_iff, loop, old_ctrl);
phase->register_control(ctrl, loop, gc_state_iff);
phase->register_control(test_fail_ctrl, loop, gc_state_iff);

0 comments on commit 15d7ef7

Please sign in to comment.