Mercurial > hg > truffle
diff src/share/vm/opto/memnode.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 | 2a9af0b9cb1c |
children | ec73d88d5b43 |
line wrap: on
line diff
--- a/src/share/vm/opto/memnode.hpp Thu Apr 10 15:49:29 2008 -0400 +++ b/src/share/vm/opto/memnode.hpp Tue Apr 15 10:49:32 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 );