Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLReturnNode.java @ 22157:dc83cc1f94f2
Using fully qualified imports
author | Jaroslav Tulach <jaroslav.tulach@oracle.com> |
---|---|
date | Wed, 16 Sep 2015 11:33:22 +0200 |
parents | 503529c65456 |
children |
comparison
equal
deleted
inserted
replaced
22156:50056a161d7f | 22157:dc83cc1f94f2 |
---|---|
38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 38 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
39 * SOFTWARE. | 39 * SOFTWARE. |
40 */ | 40 */ |
41 package com.oracle.truffle.sl.nodes.controlflow; | 41 package com.oracle.truffle.sl.nodes.controlflow; |
42 | 42 |
43 import com.oracle.truffle.api.frame.*; | 43 import com.oracle.truffle.api.frame.VirtualFrame; |
44 import com.oracle.truffle.api.nodes.*; | 44 import com.oracle.truffle.api.nodes.NodeInfo; |
45 import com.oracle.truffle.api.source.*; | 45 import com.oracle.truffle.api.source.SourceSection; |
46 import com.oracle.truffle.sl.nodes.*; | 46 import com.oracle.truffle.sl.nodes.SLExpressionNode; |
47 import com.oracle.truffle.sl.runtime.*; | 47 import com.oracle.truffle.sl.nodes.SLStatementNode; |
48 import com.oracle.truffle.sl.runtime.SLNull; | |
48 | 49 |
49 /** | 50 /** |
50 * Implementation of the SL return statement. We need to unwind an unknown number of interpreter | 51 * Implementation of the SL return statement. We need to unwind an unknown number of interpreter |
51 * frames that are between this {@link SLReturnNode} and the {@link SLFunctionBodyNode} of the | 52 * frames that are between this {@link SLReturnNode} and the {@link SLFunctionBodyNode} of the |
52 * method we are exiting. This is done by throwing an {@link SLReturnException exception} that is | 53 * method we are exiting. This is done by throwing an {@link SLReturnException exception} that is |