Mercurial > hg > truffle
diff src/share/vm/opto/node.hpp @ 3788:e3cbc9ddd434
7044738: Loop unroll optimization causes incorrect result
Summary: take into account memory dependencies when clonning nodes in clone_up_backedge_goo().
Reviewed-by: never
author | kvn |
---|---|
date | Tue, 28 Jun 2011 15:24:29 -0700 |
parents | 2f644f85485d |
children | c7b60b601eb4 |
line wrap: on
line diff
--- a/src/share/vm/opto/node.hpp Tue Jun 28 15:04:39 2011 -0700 +++ b/src/share/vm/opto/node.hpp Tue Jun 28 15:24:29 2011 -0700 @@ -1463,6 +1463,9 @@ bool is_nonempty() const { return (_inode_top >= _inodes); } bool is_empty() const { return (_inode_top < _inodes); } void clear() { _inode_top = _inodes - 1; } // retain storage + + // Node_Stack is used to map nodes. + Node* find(uint idx) const; };