Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api.codegen/src/com/oracle/truffle/api/codegen/TypeSystem.java @ 8240:33e08aca06ff
Codegen API change. Simplified definition of guards.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Fri, 01 Mar 2013 18:04:23 +0100 |
parents | 5e3d1a68664e |
children | 8b2573c8d47f |
comparison
equal
deleted
inserted
replaced
8239:8fa2eed07f81 | 8240:33e08aca06ff |
---|---|
26 | 26 |
27 /** | 27 /** |
28 * <p> | 28 * <p> |
29 * Annotates a type system class that represents type information for a node. Generates code for | 29 * Annotates a type system class that represents type information for a node. Generates code for |
30 * converting and managing types. Methods contained in the type system may be annotated with | 30 * converting and managing types. Methods contained in the type system may be annotated with |
31 * {@link TypeCast}, {@link TypeCheck} or {@link GuardCheck}. These methods alter the default | 31 * {@link TypeCast} or {@link TypeCheck}. These methods alter the default behavior of the type |
32 * behavior of the type system. | 32 * system. |
33 * </p> | 33 * </p> |
34 * | 34 * |
35 * | 35 * |
36 * <b>Example:</b> | 36 * <b>Example:</b> |
37 * <p> | 37 * <p> |
60 * } | 60 * } |
61 * </pre> | 61 * </pre> |
62 * | 62 * |
63 * @see TypeCast | 63 * @see TypeCast |
64 * @see TypeCheck | 64 * @see TypeCheck |
65 * @see GuardCheck | |
66 */ | 65 */ |
67 @Retention(RetentionPolicy.CLASS) | 66 @Retention(RetentionPolicy.CLASS) |
68 @Target({ElementType.TYPE}) | 67 @Target({ElementType.TYPE}) |
69 public @interface TypeSystem { | 68 public @interface TypeSystem { |
70 | 69 |