Package com.oracle.truffle.api.impl
Class DefaultCallTarget
java.lang.Object
com.oracle.truffle.api.impl.DefaultCallTarget
- All Implemented Interfaces:
CallTarget
,RootCallTarget
This is an implementation-specific class. Do not use or instantiate it. Instead, use
TruffleRuntime.createCallTarget(RootNode)
to create a RootCallTarget
.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCallTarget
-
-
Method Details
-
toString
-
getRootNode
- Specified by:
getRootNode
in interfaceRootCallTarget
-
call
Description copied from interface:CallTarget
Calls this target as a root method.- Specified by:
call
in interfaceCallTarget
- Parameters:
args
- passed arguments as an object array- Returns:
- the return result of the call
-