comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 17036:7b45e33b7986

Truffle: made TruffleRuntime#getCallTargets return a Collection and simplified its implementation.
author Christian Humer <christian.humer@gmail.com>
date Wed, 03 Sep 2014 14:58:53 +0200
parents 5a1d764f6afc
children 890d284b2771
comparison
equal deleted inserted replaced
17035:7b2e6171f455 17036:7b45e33b7986
140 140
141 /** 141 /**
142 * Returns a list of all still referenced {@link RootCallTarget} instances that were created 142 * Returns a list of all still referenced {@link RootCallTarget} instances that were created
143 * using {@link #createCallTarget(RootNode)}. 143 * using {@link #createCallTarget(RootNode)}.
144 */ 144 */
145 List<RootCallTarget> getCallTargets(); 145 Collection<RootCallTarget> getCallTargets();
146 146
147 /** 147 /**
148 * Internal API method. Do not use. 148 * Internal API method. Do not use.
149 */ 149 */
150 void notifyTransferToInterpreter(); 150 void notifyTransferToInterpreter();