Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
3787:6ae7a1561b53 | 3788:e3cbc9ddd434 |
---|---|
1461 uint size_max() const { return (uint)pointer_delta(_inode_max, _inodes, sizeof(INode)); } // Max size | 1461 uint size_max() const { return (uint)pointer_delta(_inode_max, _inodes, sizeof(INode)); } // Max size |
1462 uint size() const { return (uint)pointer_delta((_inode_top+1), _inodes, sizeof(INode)); } // Current size | 1462 uint size() const { return (uint)pointer_delta((_inode_top+1), _inodes, sizeof(INode)); } // Current size |
1463 bool is_nonempty() const { return (_inode_top >= _inodes); } | 1463 bool is_nonempty() const { return (_inode_top >= _inodes); } |
1464 bool is_empty() const { return (_inode_top < _inodes); } | 1464 bool is_empty() const { return (_inode_top < _inodes); } |
1465 void clear() { _inode_top = _inodes - 1; } // retain storage | 1465 void clear() { _inode_top = _inodes - 1; } // retain storage |
1466 | |
1467 // Node_Stack is used to map nodes. | |
1468 Node* find(uint idx) const; | |
1466 }; | 1469 }; |
1467 | 1470 |
1468 | 1471 |
1469 //-----------------------------Node_Notes-------------------------------------- | 1472 //-----------------------------Node_Notes-------------------------------------- |
1470 // Debugging or profiling annotations loosely and sparsely associated | 1473 // Debugging or profiling annotations loosely and sparsely associated |