Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8279535

C2: Dead code in PhaseIdealLoop::create_loop_nest after JDK-8276116

    XMLWordPrintable

Details

    • b08

    Description

      SonarCloud reports these lines are dead:

      bool PhaseIdealLoop::create_loop_nest(IdealLoopTree* loop, Node_List &old_new) {
       ...
        BoolTest::mask mask = exit_test->as_BaseCountedLoopEnd()->test_trip();
        Node* cmp = exit_test->as_BaseCountedLoopEnd()->cmp_node();
       ...

      Either these are a simple leftovers, or their non-use constitutes a bug?

      Attachments

        Issue Links

          Activity

            People

              roland Roland Westrelin
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: