< prev index next >

src/hotspot/share/opto/gcm.cpp

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