hotspot/src/share/vm/opto/divnode.cpp
DivModLNode* DivModLNode::make(Compile* C, Node* div_or_mod) {
Node* n = div_or_mod;
assert(n->Opcode() == Op_DivL || n->Opcode() == Op_ModL,
"only div or mod input pattern accepted");
DivModLNode* divmod = new (C, 3) DivModLNode(n->in(0), n->in(1), n->in(2));
Node* dproj = new (C, 1) ProjNode(divmod, DivModNode::div_proj_num);
Node* mproj = new (C, 1) ProjNode(divmod, DivModNode::mod_proj_num);
return divmod;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.