Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/Interval.java @ 6539:2463eb24b644
Cleanup of Graal API: Rename methods so that it follows the getXxx naming convention and so that they are similar to the names of the java.lang.reflect classes. Remove unused methods.
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Tue, 09 Oct 2012 15:23:38 -0700 |
parents | 2c913b643422 |
children | 5e3d1a68664e |
line wrap: on
line diff
--- a/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/Interval.java Tue Oct 09 14:06:26 2012 +0200 +++ b/graal/com.oracle.graal.compiler/src/com/oracle/graal/compiler/alloc/Interval.java Tue Oct 09 15:23:38 2012 -0700 @@ -518,7 +518,7 @@ void setKind(Kind kind) { assert isRegister(operand) || this.kind() == Kind.Illegal || this.kind() == kind : "overwriting existing type"; - assert kind == kind.stackKind() || kind == Kind.Short : "these kinds should have int type registers"; + assert kind == kind.getStackKind() || kind == Kind.Short : "these kinds should have int type registers"; this.kind = kind; } @@ -660,7 +660,7 @@ /** * Sentinel interval to denote the end of an interval list. */ - static final Interval EndMarker = new Interval(Value.IllegalValue, -1); + static final Interval EndMarker = new Interval(Value.ILLEGAL, -1); Interval(Value operand, int operandNumber) { assert operand != null;