src/share/vm/opto/mulnode.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/src/share/vm/opto/mulnode.cpp	Mon Feb 15 09:59:19 2016
--- new/src/share/vm/opto/mulnode.cpp	Mon Feb 15 09:59:18 2016

*** 168,177 **** --- 168,187 ---- #endif return mul_ring(t1,t2); // Local flavor of type multiplication } + MulNode* MulNode::make(BasicType bt, Node *in1, Node *in2) { + switch(bt) { + case T_INT: return new MulINode(in1, in2); + case T_LONG: return new MulLNode(in1, in2); + case T_FLOAT: return new MulFNode(in1, in2); + case T_DOUBLE: return new MulDNode(in1, in2); + } + fatal("Bad basic type %s", type2name(bt)); + return NULL; + } //============================================================================= //------------------------------Ideal------------------------------------------ // Check for power-of-2 multiply, then try the regular MulNode::Ideal Node *MulINode::Ideal(PhaseGVN *phase, bool can_reshape) {

src/share/vm/opto/mulnode.cpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File