Mercurial > hg > graal-compiler
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleRuntime.java @ 15091:607e33885130
Truffle: Merge context sensitive inlining removal with stack trace support.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 14 Apr 2014 18:46:56 +0200 |
parents | f675818d9ad0 |
children | 5634b199c4da |
comparison
equal
deleted
inserted
replaced
15090:07e7aae05983 | 15091:607e33885130 |
---|---|
23 * questions. | 23 * questions. |
24 */ | 24 */ |
25 package com.oracle.truffle.api; | 25 package com.oracle.truffle.api; |
26 | 26 |
27 import com.oracle.truffle.api.frame.*; | 27 import com.oracle.truffle.api.frame.*; |
28 import com.oracle.truffle.api.impl.*; | |
29 import com.oracle.truffle.api.nodes.*; | 28 import com.oracle.truffle.api.nodes.*; |
30 | 29 |
31 /** | 30 /** |
32 * Interface representing a Truffle runtime object. The runtime is responsible for creating call | 31 * Interface representing a Truffle runtime object. The runtime is responsible for creating call |
33 * targets and performing optimizations for them. | 32 * targets and performing optimizations for them. |
92 */ | 91 */ |
93 MaterializedFrame createMaterializedFrame(Object[] arguments, FrameDescriptor frameDescriptor); | 92 MaterializedFrame createMaterializedFrame(Object[] arguments, FrameDescriptor frameDescriptor); |
94 | 93 |
95 /** | 94 /** |
96 * Accesses the current stack, i.e., the contents of the {@link Frame}s and the associated | 95 * Accesses the current stack, i.e., the contents of the {@link Frame}s and the associated |
97 * {@link CallTarget}s. For this functionality to work each call needs to go through | 96 * {@link CallTarget}s. |
98 * {@link DefaultCallNode#callProxy(MaterializedFrameNotify, CallTarget, VirtualFrame, Object[])} | |
99 * instead of calling {@link CallTarget#call(Object[])} directly. | |
100 * | 97 * |
101 * @return a lazy collection of {@link FrameInstance}. | 98 * @return a lazy collection of {@link FrameInstance}. |
102 */ | 99 */ |
103 Iterable<FrameInstance> getStackTrace(); | 100 Iterable<FrameInstance> getStackTrace(); |
104 | 101 |