diff -r 07acc51c1d2a -r 08eb13460b3a src/share/vm/opto/compile.hpp --- a/src/share/vm/opto/compile.hpp Sat Apr 02 09:49:27 2011 -0700 +++ b/src/share/vm/opto/compile.hpp Sat Apr 02 10:54:15 2011 -0700 @@ -489,6 +489,9 @@ // remove the opaque nodes that protect the predicates so that the unused checks and // uncommon traps will be eliminated from the graph. void cleanup_loop_predicates(PhaseIterGVN &igvn); + bool is_predicate_opaq(Node * n) { + return _predicate_opaqs->contains(n); + } // Compilation environment. Arena* comp_arena() { return &_comp_arena; }