Code Review for 6927049

Prepared by:never on Fri Feb 19 11:53:52 PST 2010
Workspace:/net/smite.sfbay/export/ws/baseline
Compare against: ssh://hg.openjdk.java.net/jdk7/hotspot-comp-gate/hotspot
Summary of changes: 19 lines changed: 12 ins; 7 del; 0 mod; 2318 unchg
Patch of changes: 6927049.patch
Author comments:
6927049: assert(is_Loop(),"invalid node class")
Reviewed-by:

The loop predication code is missing a guard for is_Loop since it's
possible that the loop might simply by a Region if there are
irreducible loops in the loop tree. I also moved the other loop type
guards up so they would be together before any traps count logic.
Tested with failing test from report.

Legend: Modified file
Deleted file
New file

Cdiffs Udiffs Sdiffs Frames Old New Patch Raw src/share/vm/opto/loopTransform.cpp

19 lines changed: 12 ins; 7 del; 0 mod; 2318 unchg

This code review page was prepared using /never/bin/webrev (vers 23.18-hg-never).