comparison graal/com.oracle.max.graal.graph/src/com/oracle/max/graal/graph/NodeArray.java @ 3047:4dd57c0f94a8

Debuggin state
author Gilles Duboscq <gilles.duboscq@oracle.com>
date Fri, 17 Jun 2011 18:40:30 +0200
parents ac6fb0c93ffb
children dd6927e3862e
comparison
equal deleted inserted replaced
3046:f9e045cd2c23 3047:4dd57c0f94a8
161 } 161 }
162 } 162 }
163 163
164 private void checkIndex(int index) { 164 private void checkIndex(int index) {
165 if (index < 0 || index >= size()) { 165 if (index < 0 || index >= size()) {
166 throw new IndexOutOfBoundsException(); 166 throw new IndexOutOfBoundsException("Index : " + index);
167 } 167 }
168 } 168 }
169 169
170 @Override 170 @Override
171 public Node get(int index) { 171 public Node get(int index) {