hotspot/src/share/vm/opto/movenode.cpp
changeset 34174 4db2fb26dc49
parent 32084 7743e6943cdf
child 35551 36ef3841fb34
equal deleted inserted replaced
34173:01bb07d23a5b 34174:4db2fb26dc49
   228     flip = 1 - flip;
   228     flip = 1 - flip;
   229   } else return NULL;
   229   } else return NULL;
   230 
   230 
   231   // Convert to a bool (flipped)
   231   // Convert to a bool (flipped)
   232   // Build int->bool conversion
   232   // Build int->bool conversion
   233 #ifndef PRODUCT
   233   if (PrintOpto) { tty->print_cr("CMOV to I2B"); }
   234   if( PrintOpto ) tty->print_cr("CMOV to I2B");
       
   235 #endif
       
   236   Node *n = new Conv2BNode( cmp->in(1) );
   234   Node *n = new Conv2BNode( cmp->in(1) );
   237   if( flip )
   235   if( flip )
   238   n = new XorINode( phase->transform(n), phase->intcon(1) );
   236   n = new XorINode( phase->transform(n), phase->intcon(1) );
   239 
   237 
   240   return n;
   238   return n;