diff src/share/vm/opto/graphKit.hpp @ 1764:14197af1010e

Merge
author never
date Fri, 27 Aug 2010 17:35:08 -0700
parents 4b29a725c43c
children f95d63e2154a
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.hpp	Fri Aug 27 17:33:49 2010 -0700
+++ b/src/share/vm/opto/graphKit.hpp	Fri Aug 27 17:35:08 2010 -0700
@@ -341,6 +341,14 @@
   Node* null_check_oop(Node* value, Node* *null_control,
                        bool never_see_null = false);
 
+  // Check the null_seen bit.
+  bool seems_never_null(Node* obj, ciProfileData* data);
+
+  // Use the type profile to narrow an object type.
+  Node* maybe_cast_profiled_receiver(Node* not_null_obj,
+                                     ciProfileData* data,
+                                     ciKlass* require_klass);
+
   // Cast obj to not-null on this path
   Node* cast_not_null(Node* obj, bool do_replace_in_map = true);
   // Replace all occurrences of one node by another.