Mercurial > hg > truffle
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 16992:5a1d764f6afc
Truffle: added support for Runtime#getCallTargets()
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 28 Aug 2014 15:35:29 +0200 |
parents | 534a87f866dc |
children | 7b45e33b7986 |
comparison
equal
deleted
inserted
replaced
16991:4a6d852dbb68 | 16992:5a1d764f6afc |
---|---|
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 * or visit www.oracle.com if you need additional information or have any | 22 * or visit www.oracle.com if you need additional information or have any |
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api; | 25 package com.oracle.truffle.api; |
26 | |
27 import java.util.*; | |
26 | 28 |
27 import com.oracle.truffle.api.frame.*; | 29 import com.oracle.truffle.api.frame.*; |
28 import com.oracle.truffle.api.nodes.*; | 30 import com.oracle.truffle.api.nodes.*; |
29 | 31 |
30 /** | 32 /** |
135 * important to note that this {@link FrameInstance} supports only slow path access. | 137 * important to note that this {@link FrameInstance} supports only slow path access. |
136 */ | 138 */ |
137 FrameInstance getCurrentFrame(); | 139 FrameInstance getCurrentFrame(); |
138 | 140 |
139 /** | 141 /** |
142 * Returns a list of all still referenced {@link RootCallTarget} instances that were created | |
143 * using {@link #createCallTarget(RootNode)}. | |
144 */ | |
145 List<RootCallTarget> getCallTargets(); | |
146 | |
147 /** | |
140 * Internal API method. Do not use. | 148 * Internal API method. Do not use. |
141 */ | 149 */ |
142 void notifyTransferToInterpreter(); | 150 void notifyTransferToInterpreter(); |
143 | 151 |
144 } | 152 } |