Package org.openquark.cal.compiler

Examples of org.openquark.cal.compiler.EntryPointGenerator$AdjunctAugmenter


     * @param options - the values for compiler options
     * @return a new entry point generator.
     */
    private EntryPointGenerator makeEntryPointGenerator(CompilationOptions options) {
       
        EntryPointGenerator newEntryPointGenerator = programManager.makeEntryPointGenerator();
       
        for (final StatusListener statusListener : statusListeners) {
            newEntryPointGenerator.addStatusListener(statusListener);
        }
       
        if (options != null) {
            newEntryPointGenerator.setForceCodeRegen(options.isForceCodeRegeneration());
            newEntryPointGenerator.setForImmediateUse(options.isForImmediateUse());
           
            // TODOEL: Should we provide some kind of warning if inapplicable options are set?
            // eg. Can't override the foreign context for a module.
            //     ignoreCompiledModuleInfo doesn't apply.
        }
View Full Code Here

TOP

Related Classes of org.openquark.cal.compiler.EntryPointGenerator$AdjunctAugmenter

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.