Mercurial > hg > truffle
diff src/share/vm/opto/loopUnswitch.cpp @ 2385:0e3ed5a14f73
Merge
author | jcoomes |
---|---|
date | Thu, 24 Mar 2011 23:04:36 -0700 |
parents | 9dc311b8473e |
children | 1d1603768966 08eb13460b3a |
line wrap: on
line diff
--- a/src/share/vm/opto/loopUnswitch.cpp Thu Mar 24 23:00:27 2011 -0700 +++ b/src/share/vm/opto/loopUnswitch.cpp Thu Mar 24 23:04:36 2011 -0700 @@ -110,6 +110,13 @@ IfNode* unswitch_iff = find_unswitching_candidate((const IdealLoopTree *)loop); assert(unswitch_iff != NULL, "should be at least one"); +#ifndef PRODUCT + if (TraceLoopOpts) { + tty->print("Unswitch %d ", head->unswitch_count()+1); + loop->dump_head(); + } +#endif + // Need to revert back to normal loop if (head->is_CountedLoop() && !head->as_CountedLoop()->is_normal_loop()) { head->as_CountedLoop()->set_normal_loop();