hotspot/src/share/vm/opto/compile.hpp
changeset 9101 ff58f9a8e31c
parent 8725 8c1e3dd5fe1b
child 10264 6879f93d268d
--- a/hotspot/src/share/vm/opto/compile.hpp	Sat Apr 02 09:49:27 2011 -0700
+++ b/hotspot/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; }