Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api.dsl/src/com/oracle/truffle/api/dsl/NodeFactory.java @ 14042:2864cb92fa9a
TruffleDSL: retire NodeFactory#createNodeGeneric
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Wed, 26 Feb 2014 15:34:59 +0100 |
parents | 494b818b527c |
children | 64dcb92ee75a |
comparison
equal
deleted
inserted
replaced
14041:67d2c95bfa43 | 14042:2864cb92fa9a |
---|---|
44 * @throws IllegalArgumentException | 44 * @throws IllegalArgumentException |
45 */ | 45 */ |
46 T createNode(Object... arguments); | 46 T createNode(Object... arguments); |
47 | 47 |
48 /** | 48 /** |
49 * Instantiates a new generic variant of the node. This is an optional method and throws an | |
50 * {@link UnsupportedOperationException} if not supported. | |
51 * | |
52 * @param thisNode the current node | |
53 * @return the specialized node | |
54 */ | |
55 T createNodeGeneric(T thisNode); | |
56 | |
57 /** | |
58 * Returns the node class that will get created by {@link #createNode(Object...)}. The node | 49 * Returns the node class that will get created by {@link #createNode(Object...)}. The node |
59 * class does not match exactly to the instantiated object but they are guaranteed to be | 50 * class does not match exactly to the instantiated object but they are guaranteed to be |
60 * assignable. | 51 * assignable. |
61 */ | 52 */ |
62 Class<T> getNodeClass(); | 53 Class<T> getNodeClass(); |