Mercurial > hg > graal-jvmci-8
diff graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/Generic.java @ 7751:ef1b41ea0a90
Implemented an option to turn off generated generic generation using specializations in @Generic.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 08 Feb 2013 16:07:33 +0100 |
parents | a748e4d44694 |
children | 447465567e6f |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/Generic.java Fri Feb 08 15:59:43 2013 +0100 +++ b/graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/Generic.java Fri Feb 08 16:07:33 2013 +0100 @@ -30,4 +30,7 @@ @Retention(RetentionPolicy.CLASS) @Target({ElementType.METHOD}) public @interface Generic { + + boolean useSpecializations() default true; + }