src/hotspot/share/opto/memnode.cpp
changeset 58061 fafba5cf3546
parent 57722 8e51da27b53a
child 58372 43c4fb8ba96b
equal deleted inserted replaced
58060:44f3609f46af 58061:fafba5cf3546
   340         int nb = u->replace_edge(ctl, phase->C->top());
   340         int nb = u->replace_edge(ctl, phase->C->top());
   341         --i, imax -= nb;
   341         --i, imax -= nb;
   342       }
   342       }
   343     }
   343     }
   344     Node* frame = igvn->transform(new ParmNode(phase->C->start(), TypeFunc::FramePtr));
   344     Node* frame = igvn->transform(new ParmNode(phase->C->start(), TypeFunc::FramePtr));
   345     Node* halt = igvn->transform(new HaltNode(ctl, frame));
   345     Node* halt = igvn->transform(new HaltNode(ctl, frame, "unsafe off-heap access with zero address"));
   346     phase->C->root()->add_req(halt);
   346     phase->C->root()->add_req(halt);
   347     return this;
   347     return this;
   348   }
   348   }
   349 
   349 
   350   if (can_reshape && igvn != NULL &&
   350   if (can_reshape && igvn != NULL &&