Package org.jnode.vm.compiler

Examples of org.jnode.vm.compiler.IMTCompiler


        final String dir = System.getProperty("classes.dir", ".");

        final VmX86Architecture arch = new VmX86Architecture32();
        final VmSystemClassLoader cl = new VmSystemClassLoader(new URL[]{new File(dir)
            .toURL()}, arch, new CompilerTest.DummyResolver());
        final IMTCompiler cmp = arch.getIMTCompiler();
        cmp.initialize(cl);
        VmType.initializeForBootImage(cl);
        final VmImpl vm = new VmImpl("?", arch, cl.getSharedStatics(), false, cl, null);
        vm.toString();

        //final ObjectResolver resolver = new DummyResolver();
View Full Code Here


     *
     * @param builder
     * @return the compiled IMT
     */
    public CompiledIMT compileIMT(IMTBuilder builder) {
        final IMTCompiler cmp = arch.getIMTCompiler();
        return cmp.compile(resolver, builder.getImt(), builder.getImtCollisions());
    }
View Full Code Here

TOP

Related Classes of org.jnode.vm.compiler.IMTCompiler

Copyright © 2018 www.massapicom. 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.