comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 13760:a12017c18d5d

Truffle API cleanup: Reduce the visibility of classes and constructors that are not intended to be instantiated by guest language implementations; provide abstract class RootCallTarget as a CallTarget to a RootNode
author Christian Wimmer <christian.wimmer@oracle.com>
date Fri, 24 Jan 2014 18:13:38 -0800
parents ac5b0f31f7a2
children f46cab39a9a2
comparison
equal deleted inserted replaced
13759:eed1aafead0d 13760:a12017c18d5d
46 * @param rootNode the root node whose 46 * @param rootNode the root node whose
47 * {@link RootNode#execute(com.oracle.truffle.api.frame.VirtualFrame)} method 47 * {@link RootNode#execute(com.oracle.truffle.api.frame.VirtualFrame)} method
48 * represents the entry point 48 * represents the entry point
49 * @return the new call target object 49 * @return the new call target object
50 */ 50 */
51 CallTarget createCallTarget(RootNode rootNode); 51 RootCallTarget createCallTarget(RootNode rootNode);
52 52
53 /** 53 /**
54 * Creates a new assumption object that can be checked and invalidated. 54 * Creates a new assumption object that can be checked and invalidated.
55 * 55 *
56 * @return the newly created assumption object 56 * @return the newly created assumption object