< prev index next >

src/hotspot/share/opto/gcm.cpp

Print this page
*** 238,11 ***
            node->set_req(0, n);
          }
        }
  
        // process all inputs that are non null
!       for (int i = node->req()-1; i >= 0; --i) {
          if (node->in(i) != nullptr) {
            spstack.push(node->in(i));
          }
        }
      }
--- 238,11 ---
            node->set_req(0, n);
          }
        }
  
        // process all inputs that are non null
!       for (int i = node->len()-1; i >= 0; --i) {
          if (node->in(i) != nullptr) {
            spstack.push(node->in(i));
          }
        }
      }
< prev index next >