< prev index next >

src/hotspot/share/opto/callnode.cpp

Print this page

        

@@ -847,10 +847,11 @@
   }
   return false;
 }
 
 bool CallNode::has_debug_use(Node *n) {
+  assert(jvms() != NULL, "jvms should not be null");
   for (uint i = jvms()->debug_start(); i < jvms()->debug_end(); i++) {
     Node *arg = in(i);
     if (arg == n) {
       return true;
     }
< prev index next >