Mercurial > hg > graal-compiler
changeset 9523:bd8cb5779a4e
Rename field to be consistent with name of accessor method
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Thu, 02 May 2013 10:26:30 -0700 |
parents | 3bb1834202f7 |
children | ff8d87eabda8 |
files | graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AccessIndexedNode.java |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AccessIndexedNode.java Thu May 02 17:35:36 2013 +0200 +++ b/graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AccessIndexedNode.java Thu May 02 10:26:30 2013 -0700 @@ -34,7 +34,7 @@ public abstract class AccessIndexedNode extends AccessArrayNode implements Lowerable { @Input private ValueNode index; - private final Kind elementType; + private final Kind elementKind; public ValueNode index() { return index; @@ -46,12 +46,12 @@ * @param stamp the result kind of the access * @param array the instruction producing the array * @param index the instruction producing the index - * @param elementKind the type of the elements of the array + * @param elementKind the kind of the elements of the array */ protected AccessIndexedNode(Stamp stamp, ValueNode array, ValueNode index, Kind elementKind) { super(stamp, array); this.index = index; - this.elementType = elementKind; + this.elementKind = elementKind; } /** @@ -60,7 +60,7 @@ * @return the element type */ public Kind elementKind() { - return elementType; + return elementKind; } @Override