@@ -232,11 +232,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) != nullptr) { spstack.push(node->in(i)); } } }