Mercurial > hg > graal-compiler
diff graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CallingConvention.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 | 53006ba078d4 |
children | 5e3d1a68664e |
line wrap: on
line diff
--- a/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CallingConvention.java Tue Oct 09 14:06:26 2012 +0200 +++ b/graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/CallingConvention.java Tue Oct 09 15:23:38 2012 -0700 @@ -92,7 +92,7 @@ * Creates a description of the registers and stack locations used by a call. * * @param stackSize amount of stack space (in bytes) required for the stack-based arguments of the call - * @param returnLocation the location for the return value or {@link Value#IllegalValue} if a void call + * @param returnLocation the location for the return value or {@link Value#ILLEGAL} if a void call * @param argumentLocations the ordered locations in which the arguments are placed */ public CallingConvention(int stackSize, Value returnLocation, Value... argumentLocations) { @@ -104,7 +104,7 @@ * * @param temporaryLocations the locations used (and killed) by the call in addition to {@code arguments} * @param stackSize amount of stack space (in bytes) required for the stack-based arguments of the call - * @param returnLocation the location for the return value or {@link Value#IllegalValue} if a void call + * @param returnLocation the location for the return value or {@link Value#ILLEGAL} if a void call * @param argumentLocations the ordered locations in which the arguments are placed */ public CallingConvention(Value[] temporaryLocations, int stackSize, Value returnLocation, Value... argumentLocations) { @@ -119,7 +119,7 @@ } /** - * Gets the location for the return value or {@link Value#IllegalValue} if a void call. + * Gets the location for the return value or {@link Value#ILLEGAL} if a void call. */ public Value getReturn() { return returnLocation; @@ -165,7 +165,7 @@ sb.append(sep).append(op); sep = ", "; } - if (returnLocation != Value.IllegalValue) { + if (returnLocation != Value.ILLEGAL) { sb.append(" -> ").append(returnLocation); } if (temporaryLocations.length != 0) {