comparison graal/com.oracle.graal.api.code/src/com/oracle/graal/api/code/RegisterConfig.java @ 6470:b1010f7bc0bf

expanded CallingConvention API class to also include the location of the value (if any) returned by a call
author Doug Simon <doug.simon@oracle.com>
date Mon, 01 Oct 2012 21:37:20 +0200
parents 4d7175cf3526
children 2912b72d840a
comparison
equal deleted inserted replaced
6469:ec2211254419 6470:b1010f7bc0bf
48 48
49 /** 49 /**
50 * Gets the calling convention describing how arguments are passed. 50 * Gets the calling convention describing how arguments are passed.
51 * 51 *
52 * @param type the type of calling convention being requested 52 * @param type the type of calling convention being requested
53 * @param parameters the types of the arguments of the call 53 * @param returnKind the return kind
54 * @param parameters the kinds of the arguments of the call
54 * @param target the target platform 55 * @param target the target platform
55 * @param stackOnly ignore registers 56 * @param stackOnly ignore registers
56 */ 57 */
57 CallingConvention getCallingConvention(Type type, Kind[] parameters, TargetDescription target, boolean stackOnly); 58 CallingConvention getCallingConvention(Type type, Kind returnKind, Kind[] parameters, TargetDescription target, boolean stackOnly);
58 59
59 /** 60 /**
60 * Gets the ordered set of registers that are can be used to pass parameters 61 * Gets the ordered set of registers that are can be used to pass parameters
61 * according to a given calling convention. 62 * according to a given calling convention.
62 * 63 *