/** * Get compiler options specific to this <code>RootNode</code>. */ public CompilerOptions getCompilerOptions() { final ExecutionContext context = getExecutionContext(); if (context == null) { return DefaultCompilerOptions.INSTANCE; } else { return context.getCompilerOptions(); } }
/** * Get compiler options specific to this <code>RootNode</code>. * * @since 0.8 or earlier */ @SuppressWarnings("deprecation") public CompilerOptions getCompilerOptions() { final com.oracle.truffle.api.ExecutionContext context = getExecutionContext(); if (context == null) { return DefaultCompilerOptions.INSTANCE; } else { return context.getCompilerOptions(); } }
/** * Get compiler options specific to this <code>RootNode</code>. * * @since 0.8 or earlier */ @SuppressWarnings("deprecation") public CompilerOptions getCompilerOptions() { final com.oracle.truffle.api.ExecutionContext context = getExecutionContext(); if (context == null) { return DefaultCompilerOptions.INSTANCE; } else { return context.getCompilerOptions(); } }