< prev index next >

src/share/vm/opto/matcher.cpp

Print this page

        

@@ -1925,11 +1925,11 @@
 class FusedPatternMatcher {
   Node* _op1_node;
   Node* _mop_node;
   int _con_op;
 
-  static int match_next(Node* n, int next_op, int next_op_idx) {
+  static int match_next(Node* n, uint next_op, int next_op_idx) {
     if (n->in(1) == NULL || n->in(2) == NULL) {
       return -1;
     }
 
     if (next_op_idx == -1) { // n is commutative, try rotations

@@ -1948,12 +1948,12 @@
   }
 public:
   FusedPatternMatcher(Node* op1_node, Node *mop_node, int con_op) :
     _op1_node(op1_node), _mop_node(mop_node), _con_op(con_op) { }
 
-  bool match(int op1, int op1_op2_idx,  // op1 and the index of the op1->op2 edge, -1 if op1 is commutative
-             int op2, int op2_con_idx,  // op2 and the index of the op2->con edge, -1 if op2 is commutative
+  bool match(uint op1, int op1_op2_idx,  // op1 and the index of the op1->op2 edge, -1 if op1 is commutative
+             uint op2, int op2_con_idx,  // op2 and the index of the op2->con edge, -1 if op2 is commutative
              typename ConType::NativeType con_value) {
     if (_op1_node->Opcode() != op1) {
       return false;
     }
     if (_mop_node->outcnt() > 2) {
< prev index next >