Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/nodes/RootNode.java @ 22325:414e82b9fc35
Release 0.9 is out, let's remove deprecated elements from the API
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Fri, 23 Oct 2015 20:23:00 +0200 |
parents | 3168715cb34d |
children | 5d62f7cfe0e1 |
comparison
equal
deleted
inserted
replaced
22324:ad67d348e361 | 22325:414e82b9fc35 |
---|---|
47 final Class<? extends TruffleLanguage> language; | 47 final Class<? extends TruffleLanguage> language; |
48 private RootCallTarget callTarget; | 48 private RootCallTarget callTarget; |
49 @CompilationFinal private FrameDescriptor frameDescriptor; | 49 @CompilationFinal private FrameDescriptor frameDescriptor; |
50 | 50 |
51 /** | 51 /** |
52 * @deprecated each RootNode should be associated with a {@link TruffleLanguage} use constructor | |
53 * that allows you to specify it. This method will be removed on Aug 15, 2015. | |
54 */ | |
55 @Deprecated | |
56 protected RootNode() { | |
57 this(null, null, null, false); | |
58 } | |
59 | |
60 /** | |
61 * @deprecated each RootNode should be associated with a {@link TruffleLanguage} use constructor | |
62 * that allows you to specify it. This method will be removed on Aug 15, 2015. | |
63 */ | |
64 @Deprecated | |
65 protected RootNode(SourceSection sourceSection) { | |
66 this(null, sourceSection, null, false); | |
67 } | |
68 | |
69 /** | |
70 * @deprecated each RootNode should be associated with a {@link TruffleLanguage} use constructor | |
71 * that allows you to specify it. This method will be removed on Aug 15, 2015. | |
72 */ | |
73 @Deprecated | |
74 protected RootNode(SourceSection sourceSection, FrameDescriptor frameDescriptor) { | |
75 this(null, sourceSection, frameDescriptor, false); | |
76 } | |
77 | |
78 /** | |
79 * Creates new root node. Each {@link RootNode} is associated with a particular language - if | 52 * Creates new root node. Each {@link RootNode} is associated with a particular language - if |
80 * the root node represents a method it is assumed the method is written in such language. | 53 * the root node represents a method it is assumed the method is written in such language. |
81 * <p> | 54 * <p> |
82 * <strong>Note:</strong> Although the {@link SourceSection} <em>can</em> be {@code null}, this | 55 * <strong>Note:</strong> Although the {@link SourceSection} <em>can</em> be {@code null}, this |
83 * is strongly discouraged for the purposes of testing/tracing/tooling. Please use | 56 * is strongly discouraged for the purposes of testing/tracing/tooling. Please use |