Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/Specialization.java @ 11195:4f52b08bd2f9
Truffle-DSL: Implemented specialization grouping for generic cases.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 01 Aug 2013 20:53:54 +0200 |
parents | 081eac3646d5 |
children | 494b818b527c |
comparison
equal
deleted
inserted
replaced
11194:14d5ff4683e0 | 11195:4f52b08bd2f9 |
---|---|
36 | 36 |
37 String[] guards() default {}; | 37 String[] guards() default {}; |
38 | 38 |
39 /** | 39 /** |
40 * Defines the assumptions to check for this specialization. When the specialization method is | 40 * Defines the assumptions to check for this specialization. When the specialization method is |
41 * invoked it is guaranteed that the assigned assumptions still hold. To declare assumptions use | 41 * invoked it is guaranteed that these assumptions still hold. It is not guaranteed that they |
42 * the {@link NodeAssumptions} annotation at class level. | 42 * are checked before the {@link #guards()} methods. They may be checked before after or in |
43 * between {@link #guards()}. To declare assumptions use the {@link NodeAssumptions} annotation | |
44 * at class level. | |
43 */ | 45 */ |
44 String[] assumptions() default {}; | 46 String[] assumptions() default {}; |
45 | 47 |
46 } | 48 } |