diff src/share/vm/opto/node.hpp @ 119:d1a5218d7eaf

6686791: Side effect in NumberFormat tests with -server -Xcomp Summary: Optimization in CmpPNode::sub() removed the valid compare instruction because of false positive answer from detect_dominating_control(). Reviewed-by: jrose, sgoldman
author kvn
date Wed, 16 Apr 2008 19:19:48 -0700
parents ba764ed4b6f2
children ec73d88d5b43 72f4a668df19
line wrap: on
line diff
--- a/src/share/vm/opto/node.hpp	Wed Apr 16 14:55:36 2008 -0700
+++ b/src/share/vm/opto/node.hpp	Wed Apr 16 19:19:48 2008 -0700
@@ -817,6 +817,12 @@
   // for the transformations to happen.
   bool has_special_unique_user() const;
 
+  // Skip Proj and CatchProj nodes chains. Check for Null and Top.
+  Node* find_exact_control(Node* ctrl);
+
+  // Check if 'this' node dominates or equal to 'sub'.
+  bool dominates(Node* sub, Node_List &nlist);
+
 protected:
   bool remove_dead_region(PhaseGVN *phase, bool can_reshape);
 public: