Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/RootCallTarget.java @ 15159:2ed720ce9273
Truffle: Change CallTarget from an abstract class to an interface. Allow varargs.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Tue, 15 Apr 2014 13:26:26 +0200 |
parents | b8ab8de26519 |
children | 258e3e0b5e2e |
comparison
equal
deleted
inserted
replaced
15158:083e9e4df58a | 15159:2ed720ce9273 |
---|---|
29 | 29 |
30 /** | 30 /** |
31 * Represents the target of a call to a {@link RootNode}, i.e., to another tree of nodes. Instances | 31 * Represents the target of a call to a {@link RootNode}, i.e., to another tree of nodes. Instances |
32 * of this class can be created using {@link TruffleRuntime#createCallTarget(RootNode)}. | 32 * of this class can be created using {@link TruffleRuntime#createCallTarget(RootNode)}. |
33 */ | 33 */ |
34 public abstract class RootCallTarget extends CallTarget { | 34 public abstract class RootCallTarget implements CallTarget { |
35 | 35 |
36 private final RootNode rootNode; | 36 private final RootNode rootNode; |
37 | 37 |
38 public RootCallTarget(RootNode function) { | 38 public RootCallTarget(RootNode function) { |
39 this.rootNode = function; | 39 this.rootNode = function; |