diff src/share/vm/opto/node.hpp @ 85:f3b3fe64f59f

6692301: 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 Tue, 15 Apr 2008 10:49:32 -0700
parents 99269dbf4ba8
children ec73d88d5b43
line wrap: on
line diff
--- a/src/share/vm/opto/node.hpp	Thu Apr 10 15:49:29 2008 -0400
+++ b/src/share/vm/opto/node.hpp	Tue Apr 15 10:49:32 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: