Mercurial > hg > truffle
comparison src/share/vm/opto/split_if.cpp @ 2445:08eb13460b3a
7004535: Clone loop predicate during loop unswitch
Summary: Clone loop predicate for clonned loops
Reviewed-by: never
author | kvn |
---|---|
date | Sat, 02 Apr 2011 10:54:15 -0700 |
parents | f95d63e2154a |
children | 8805f8c1e23e |
comparison
equal
deleted
inserted
replaced
2444:07acc51c1d2a | 2445:08eb13460b3a |
---|---|
397 // Split thru the Region. | 397 // Split thru the Region. |
398 void PhaseIdealLoop::do_split_if( Node *iff ) { | 398 void PhaseIdealLoop::do_split_if( Node *iff ) { |
399 #ifndef PRODUCT | 399 #ifndef PRODUCT |
400 if( PrintOpto && VerifyLoopOptimizations ) | 400 if( PrintOpto && VerifyLoopOptimizations ) |
401 tty->print_cr("Split-if"); | 401 tty->print_cr("Split-if"); |
402 if (TraceLoopOpts) { | |
403 tty->print_cr("SplitIf"); | |
404 } | |
402 #endif | 405 #endif |
403 C->set_major_progress(); | 406 C->set_major_progress(); |
404 Node *region = iff->in(0); | 407 Node *region = iff->in(0); |
405 Node *region_dom = idom(region); | 408 Node *region_dom = idom(region); |
406 | 409 |