< prev index next >
src/hotspot/share/opto/callnode.cpp
Print this page
*** 1269,1278 ****
--- 1269,1286 ----
return 0;
return (TypeFunc::Parms == idx);
}
+ void SafePointNode::disconnect_from_root(PhaseIterGVN *igvn) {
+ assert(Opcode() == Op_SafePoint, "only value for safepoint in loops");
+ int nb = igvn->C->root()->find_prec_edge(this);
+ if (nb != -1) {
+ igvn->C->root()->rm_prec(nb);
+ }
+ }
+
//============== SafePointScalarObjectNode ==============
SafePointScalarObjectNode::SafePointScalarObjectNode(const TypeOopPtr* tp,
#ifdef ASSERT
AllocateNode* alloc,
< prev index next >