Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/NodeAssumptions.java @ 19286:0dbab21080aa
Truffle-DSL: deprecate @NodeAssumptions
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Tue, 03 Feb 2015 15:07:03 +0100 |
parents | 494b818b527c |
children |
comparison
equal
deleted
inserted
replaced
19285:259a416388d7 | 19286:0dbab21080aa |
---|---|
24 */ | 24 */ |
25 package com.oracle.truffle.api.dsl; | 25 package com.oracle.truffle.api.dsl; |
26 | 26 |
27 import java.lang.annotation.*; | 27 import java.lang.annotation.*; |
28 | 28 |
29 import com.oracle.truffle.api.*; | |
30 | |
29 /** | 31 /** |
30 * Declares one or multiple assumptions for use inside a source code generation enabled node. | 32 * @deprecated use {@link NodeField} with type {@link Assumption} instead. |
31 * Declared assumptions must be passed to the {@link NodeFactory#createNode(Object...)} method as | |
32 * parameters. | |
33 */ | 33 */ |
34 @Retention(RetentionPolicy.CLASS) | 34 @Retention(RetentionPolicy.CLASS) |
35 @Target({ElementType.TYPE}) | 35 @Target({ElementType.TYPE}) |
36 @Deprecated | |
36 public @interface NodeAssumptions { | 37 public @interface NodeAssumptions { |
37 | 38 |
38 String[] value(); | 39 String[] value(); |
39 | 40 |
40 } | 41 } |