Package org.teavm.model.util

Examples of org.teavm.model.util.RegisterAllocator


            optimizedProgram = ProgramUtils.copy(method.getProgram());
            if (optimizedProgram.basicBlockCount() > 0) {
                for (MethodOptimization optimization : getOptimizations()) {
                    optimization.optimize(method, optimizedProgram);
                }
                RegisterAllocator allocator = new RegisterAllocator();
                allocator.allocateRegisters(method, optimizedProgram);
            }
            if (incremental && programCache != null) {
                programCache.store(method.getReference(), optimizedProgram);
            }
        }
View Full Code Here

TOP

Related Classes of org.teavm.model.util.RegisterAllocator

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.