< prev index next >

src/share/vm/opto/macro.cpp

Print this page

        

*** 242,252 **** _igvn.replace_node(mem, mem->in(MemNode::Memory)); } } else { // G1 pre/post barriers assert(p2x->outcnt() <= 2, "expects 1 or 2 users: Xor and URShift nodes"); ! // It could be only one user, URShift node, in Object.clone() instrinsic // but the new allocation is passed to arraycopy stub and it could not // be scalar replaced. So we don't check the case. // An other case of only one user (Xor) is when the value check for NULL // in G1 post barrier is folded after CCP so the code which used URShift --- 242,252 ---- _igvn.replace_node(mem, mem->in(MemNode::Memory)); } } else { // G1 pre/post barriers assert(p2x->outcnt() <= 2, "expects 1 or 2 users: Xor and URShift nodes"); ! // It could be only one user, URShift node, in Object.clone() intrinsic // but the new allocation is passed to arraycopy stub and it could not // be scalar replaced. So we don't check the case. // An other case of only one user (Xor) is when the value check for NULL // in G1 post barrier is folded after CCP so the code which used URShift
< prev index next >