comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/internal/DSLOptions.java @ 19282:ae81dd154fb6

Truffle-DSL: remove old DSL layout; Make new layout the default.
author Christian Humer <christian.humer@gmail.com>
date Thu, 22 Jan 2015 20:44:24 +0100
parents a720bf2e2f43
children
comparison
equal deleted inserted replaced
19281:92880b0f7fed 19282:ae81dd154fb6
32 */ 32 */
33 @Retention(RetentionPolicy.RUNTIME) 33 @Retention(RetentionPolicy.RUNTIME)
34 @Target({ElementType.TYPE}) 34 @Target({ElementType.TYPE})
35 public @interface DSLOptions { 35 public @interface DSLOptions {
36 36
37 /** Enable the new DSL generation layout. */ 37 /** Flag has no effect anymore. Is going to be removed soon. */
38 boolean useNewLayout() default false; 38 @Deprecated
39 boolean useNewLayout() default true;
39 40
40 /** 41 /**
41 * Lazy class loading ensures that all generated specialization classes are loaded lazily. 42 * Lazy class loading ensures that all generated specialization classes are loaded lazily.
42 * Disabling this feature will eagerly load all classes but will also reduce the generated code 43 * Disabling this feature will eagerly load all classes but will also reduce the generated code
43 * size. 44 * size.