Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Specialization.java @ 16749:80f9446d4c81
Truffle-DSL: deprecated order and added insertBefore and contains attributes to the Specialization annotation.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 11 Aug 2014 15:53:04 +0200 |
parents | 494b818b527c |
children | ea9903f9684f |
comparison
equal
deleted
inserted
replaced
16748:10ee18bf7e1a | 16749:80f9446d4c81 |
---|---|
30 @Target({ElementType.METHOD}) | 30 @Target({ElementType.METHOD}) |
31 public @interface Specialization { | 31 public @interface Specialization { |
32 | 32 |
33 int DEFAULT_ORDER = -1; | 33 int DEFAULT_ORDER = -1; |
34 | 34 |
35 @Deprecated | |
35 int order() default DEFAULT_ORDER; | 36 int order() default DEFAULT_ORDER; |
36 | 37 |
38 String insertBefore() default ""; | |
39 | |
37 Class<? extends Throwable>[] rewriteOn() default {}; | 40 Class<? extends Throwable>[] rewriteOn() default {}; |
41 | |
42 String[] contains() default {}; | |
38 | 43 |
39 String[] guards() default {}; | 44 String[] guards() default {}; |
40 | 45 |
41 /** | 46 /** |
42 * Defines the assumptions to check for this specialization. When the specialization method is | 47 * Defines the assumptions to check for this specialization. When the specialization method is |