src/share/vm/opto/node.hpp

changeset 2985
e3cbc9ddd434
parent 2350
2f644f85485d
child 3040
c7b60b601eb4
equal deleted inserted replaced
2984:6ae7a1561b53 2985: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

mercurial