mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +02:00
7044738: Loop unroll optimization causes incorrect result
Take into account memory dependencies when clonning nodes in clone_up_backedge_goo(). Reviewed-by: never
This commit is contained in:
parent
565f8579ac
commit
b3505a88a4
7 changed files with 211 additions and 13 deletions
|
@ -1463,6 +1463,9 @@ public:
|
|||
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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue