Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/controlflow/SLReturnException.java @ 13836:64c77f0577bb
More documentation and improvements of Simple Language
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Thu, 30 Jan 2014 17:53:27 -0800 |
parents | b16ec83edc73 |
children |
comparison
equal
deleted
inserted
replaced
13835:67e4e7f56911 | 13836:64c77f0577bb |
---|---|
22 */ | 22 */ |
23 package com.oracle.truffle.sl.nodes.controlflow; | 23 package com.oracle.truffle.sl.nodes.controlflow; |
24 | 24 |
25 import com.oracle.truffle.api.nodes.*; | 25 import com.oracle.truffle.api.nodes.*; |
26 | 26 |
27 /** | |
28 * Exception thrown by the {@link SLReturnNode return statement} and caught by the | |
29 * {@link SLFunctionBodyNode function body}. The exception transports the return value in its | |
30 * {@link #result} field. | |
31 */ | |
27 public final class SLReturnException extends ControlFlowException { | 32 public final class SLReturnException extends ControlFlowException { |
28 | 33 |
29 private static final long serialVersionUID = 4073191346281369231L; | 34 private static final long serialVersionUID = 4073191346281369231L; |
30 | 35 |
31 private final Object result; | 36 private final Object result; |