Mercurial > hg > graal-jvmci-8
diff src/share/vm/opto/memnode.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 |
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.hpp Wed Apr 16 14:55:36 2008 -0700 +++ b/src/share/vm/opto/memnode.hpp Wed Apr 16 19:19:48 2008 -0700 @@ -70,7 +70,7 @@ static Node *optimize_simple_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase); static Node *optimize_memory_chain(Node *mchain, const TypePtr *t_adr, PhaseGVN *phase); // This one should probably be a phase-specific function: - static bool detect_dominating_control(Node* dom, Node* sub); + static bool all_controls_dominate(Node* dom, Node* sub); // Is this Node a MemNode or some descendent? Default is YES. virtual Node *Ideal_DU_postCCP( PhaseCCP *ccp );