hotspot/src/share/vm/opto/node.hpp
changeset 213 a5fd1de03461
parent 206 d61cf247afd5
child 236 9a04268c8eea
--- a/hotspot/src/share/vm/opto/node.hpp	Thu Mar 06 10:53:33 2008 -0800
+++ b/hotspot/src/share/vm/opto/node.hpp	Thu Mar 06 20:58:16 2008 -0800
@@ -1384,7 +1384,7 @@
     _inode_top->indx = i;
   }
   uint size_max() const { return (uint)pointer_delta(_inode_max, _inodes,  sizeof(INode)); } // Max size
-  uint size() const { return (uint)pointer_delta(_inode_top, _inodes,  sizeof(INode)) + 1; } // Current size
+  uint size() const { return (uint)pointer_delta((_inode_top+1), _inodes,  sizeof(INode)); } // Current size
   bool is_nonempty() const { return (_inode_top >= _inodes); }
   bool is_empty() const { return (_inode_top < _inodes); }
   void clear() { _inode_top = _inodes - 1; } // retain storage