public abstract class MachineReflection extends Object
Constructor and Description |
---|
MachineReflection() |
Modifier and Type | Method and Description |
---|---|
static int |
countParameters(RVMMethod method)
Determines number/type of registers and parameters required to
call specified method.
|
static void |
packageParameters(RVMMethod method,
Object thisArg,
Object[] otherArgs,
WordArray GPRs,
double[] FPRs,
byte[] FPRmeta,
WordArray Parameters)
Collects parameters into arrays of registers/spills, as required to
call specified method.
|
public MachineReflection()
public static int countParameters(RVMMethod method)
method
- the method whose parameters to countpublic static void packageParameters(RVMMethod method, Object thisArg, Object[] otherArgs, WordArray GPRs, double[] FPRs, byte[] FPRmeta, WordArray Parameters)
method
- method whose parameters are to be packagedthisArg
- the receiver argumentotherArgs
- all other arguments (primitives are boxed)GPRs
- space for GPRs (empty array if none needed)FPRs
- space for FPRs (empty array if none needed)FPRmeta
- meta-data for FPRs (null
if no SSE2)Parameters
- more space for parameters. Refer to the source code
to get all the details.more machine-specific details