Modifier and Type | Class and Description |
---|---|
public static interface | CallingConvention.
Marker interface denoting the type of a call for which a calling convention is requested. |
Modifier and Type | Field and Description |
---|---|
private final AllocatableValue[] | argumentLocations
The ordered locations in which the arguments are placed. |
private final AllocatableValue | |
private final int | stackSize
The amount of stack space (in bytes) required for the stack-based arguments of the call. |
Access | Constructor and Description |
---|---|
public | CallingConvention(int
amount of stack space (in bytes) required for the stack-based arguments of
the call stackSize, AllocatableValue the location for the return value or returnLocation, AllocatableValue... Value#ILLEGAL if a void
callthe ordered locations in which the arguments are placed argumentLocations)Creates a description of the registers and stack locations used by a call. |
Modifier and Type | Method and Description |
---|---|
public AllocatableValue | |
public int | |
public AllocatableValue[] | |
public AllocatableValue | |
public int | getStackSize()
Gets the amount of stack space (in bytes) required for the stack-based arguments of the call. |
public String | |
private boolean |
argumentLocations | back to summary |
---|---|
private final AllocatableValue[] argumentLocations The ordered locations in which the arguments are placed. |
returnLocation | back to summary |
---|---|
private final AllocatableValue returnLocation |
stackSize | back to summary |
---|---|
private final int stackSize The amount of stack space (in bytes) required for the stack-based arguments of the call. |
CallingConvention | back to summary |
---|---|
public CallingConvention(int stackSize, AllocatableValue returnLocation, AllocatableValue... argumentLocations) Creates a description of the registers and stack locations used by a call.
|
getArgument | back to summary |
---|---|
public AllocatableValue getArgument(int index) Gets the location for the |
getArgumentCount | back to summary |
---|---|
public int getArgumentCount() Gets the number of locations required for the arguments. |
getArguments | back to summary |
---|---|
public AllocatableValue[] getArguments() Gets the locations required for the arguments.
|
getReturn | back to summary |
---|---|
public AllocatableValue getReturn() Gets the location for the return value or |
getStackSize | back to summary |
---|---|
public int getStackSize() Gets the amount of stack space (in bytes) required for the stack-based arguments of the call. |
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |
verify | back to summary |
---|---|
private boolean verify() |