src/share/vm/opto/divnode.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/opto/divnode.cpp Mon Aug 4 14:31:47 2014
--- new/src/share/vm/opto/divnode.cpp Mon Aug 4 14:31:46 2014
*** 1278,1288 ****
--- 1278,1288 ----
init_req(1, dividend);
init_req(2, divisor);
}
//------------------------------make------------------------------------------
- DivModINode* DivModINode::make(Compile* C, Node* div_or_mod) {
Node* n = div_or_mod;
assert(n->Opcode() == Op_DivI || n->Opcode() == Op_ModI,
"only div or mod input pattern accepted");
DivModINode* divmod = new DivModINode(n->in(0), n->in(1), n->in(2));
*** 1290,1300 ****
--- 1290,1300 ----
Node* mproj = new ProjNode(divmod, DivModNode::mod_proj_num);
return divmod;
}
//------------------------------make------------------------------------------
- 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 DivModLNode(n->in(0), n->in(1), n->in(2));
src/share/vm/opto/divnode.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File