equal
deleted
inserted
replaced
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; |