hotspot/src/share/vm/opto/node.hpp
changeset 955 723d7b577fba
parent 670 ddf3e9583f2f
child 1432 44f076e3d2a4
--- a/hotspot/src/share/vm/opto/node.hpp	Wed Jul 16 10:08:57 2008 -0700
+++ b/hotspot/src/share/vm/opto/node.hpp	Wed Jul 16 16:04:39 2008 -0700
@@ -1399,6 +1399,10 @@
   uint index() const {
     return _inode_top->indx;
   }
+  uint index_at(uint i) const {
+    assert(_inodes + i <= _inode_top, "in range");
+    return _inodes[i].indx;
+  }
   void set_node(Node *n) {
     _inode_top->node = n;
   }