Mercurial > hg > truffle
comparison src/share/vm/opto/ifnode.cpp @ 1161:1fc01a2425ce
Merge
author | iveresov |
---|---|
date | Tue, 12 Jan 2010 13:54:40 -0800 |
parents | bea7a22a6f79 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1149:0579c695832f | 1161:1fc01a2425ce |
---|---|
527 return dom; | 527 return dom; |
528 | 528 |
529 // Use linear_only if we are still parsing, since we cannot | 529 // Use linear_only if we are still parsing, since we cannot |
530 // trust the regions to be fully filled in. | 530 // trust the regions to be fully filled in. |
531 if (linear_only) | 531 if (linear_only) |
532 return NULL; | |
533 | |
534 if( dom->is_Root() ) | |
532 return NULL; | 535 return NULL; |
533 | 536 |
534 // Else hit a Region. Check for a loop header | 537 // Else hit a Region. Check for a loop header |
535 if( dom->is_Loop() ) | 538 if( dom->is_Loop() ) |
536 return dom->in(1); // Skip up thru loops | 539 return dom->in(1); // Skip up thru loops |