Mercurial > hg > truffle
diff src/share/vm/opto/chaitin.hpp @ 70:b683f557224b
6661247: Internal bug in 32-bit HotSpot optimizer while bit manipulations
Summary: copy elimination of a constant value results in incorrect execution
Reviewed-by: kvn, sgoldman, rasbold
author | never |
---|---|
date | Wed, 19 Mar 2008 15:14:36 -0700 |
parents | a61af66fc99e |
children | d1605aabd0a1 |
line wrap: on
line diff
--- a/src/share/vm/opto/chaitin.hpp Tue Mar 18 23:54:17 2008 -0700 +++ b/src/share/vm/opto/chaitin.hpp Wed Mar 19 15:14:36 2008 -0700 @@ -457,7 +457,8 @@ bool may_be_copy_of_callee( Node *def ) const; // If nreg already contains the same constant as val then eliminate it - bool eliminate_copy_of_constant(Node* val, Block *current_block, Node_List& value, Node_List ®nd, + bool eliminate_copy_of_constant(Node* val, Node* n, + Block *current_block, Node_List& value, Node_List ®nd, OptoReg::Name nreg, OptoReg::Name nreg2); // Extend the node to LRG mapping void add_reference( const Node *node, const Node *old_node);