# HG changeset patch # User Christian Wimmer # Date 1367515590 25200 # Node ID bd8cb5779a4e5f31b5d0492fc418e782b14b012f # Parent 3bb1834202f7f988f223f2761375f89a609e0396 Rename field to be consistent with name of accessor method diff -r 3bb1834202f7 -r bd8cb5779a4e graal/com.oracle.graal.nodes/src/com/oracle/graal/nodes/java/AccessIndexedNode.java --- 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