--- old/src/share/vm/opto/node.cpp 2016-07-03 23:43:04.847490267 +0900 +++ new/src/share/vm/opto/node.cpp 2016-07-03 23:43:04.708490845 +0900 @@ -905,7 +905,7 @@ } // Find out of current node that matches opcode. -Node* Node::find_out_with(int opcode) { +Node* Node::find_out_with(uint opcode) { for (DUIterator_Fast imax, i = fast_outs(imax); i < imax; i++) { Node* use = fast_out(i); if (use->Opcode() == opcode) { @@ -916,14 +916,14 @@ } // Return true if the current node has an out that matches opcode. -bool Node::has_out_with(int opcode) { +bool Node::has_out_with(uint opcode) { return (find_out_with(opcode) != NULL); } // Return true if the current node has an out that matches any of the opcodes. -bool Node::has_out_with(int opcode1, int opcode2, int opcode3, int opcode4) { +bool Node::has_out_with(uint opcode1, uint opcode2, uint opcode3, uint opcode4) { for (DUIterator_Fast imax, i = fast_outs(imax); i < imax; i++) { - int opcode = fast_out(i)->Opcode(); + uint opcode = fast_out(i)->Opcode(); if (opcode == opcode1 || opcode == opcode2 || opcode == opcode3 || opcode == opcode4) { return true; } @@ -1131,7 +1131,7 @@ bool Node::has_special_unique_user() const { assert(outcnt() == 1, "match only for unique out"); Node* n = unique_out(); - int op = Opcode(); + uint op = Opcode(); if (this->is_Store()) { // Condition for back-to-back stores folding. return n->Opcode() == op && n->in(MemNode::Memory) == this; @@ -2290,7 +2290,7 @@ //--------------------------find_similar------------------------------ // Return a node with opcode "opc" and same inputs as "this" if one can // be found; Otherwise return NULL; -Node* Node::find_similar(int opc) { +Node* Node::find_similar(uint opc) { if (req() >= 2) { Node* def = in(1); if (def && def->outcnt() >= 2) {