Examples of StackLocation


Examples of org.jnode.vm.compiler.ir.StackLocation

    public static void initMethodArguments(VmMethod method, X86StackFrame stackFrame, TypeSizeInfo typeSizeInfo,
                                     IRGenerator irg) {
        int nArgs = method.getArgSlotCount();
        Variable[] variables = irg.getVariables();
        for (int i = 0; i < nArgs; i += 1) {
            variables[i].setLocation(new StackLocation(stackFrame.getEbpOffset(typeSizeInfo, i)));
        }
    }
View Full Code Here

Examples of org.jnode.vm.compiler.ir.StackLocation

        this.spilledVariables = variables;
        int n = spilledVariables.length;
        int noArgs = currentMethod.getNoArguments();
        for (int i = 0; i < n; i += 1) {
            Variable<X86Register> var = (Variable<X86Register>) spilledVariables[i];
            StackLocation loc = (StackLocation) var.getLocation();
            loc.setDisplacement(stackFrame.getEbpOffset(typeSizeInfo, noArgs + i));
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.