public class ReturnStmt extends Stmt
| Constructor and Description |
|---|
ReturnStmt(Expr toReturn)
Construct a
ReturnStmt which returns the value of the specified expression. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toLLVM()
Generate the LLVM code that should be executed to execute this statement.
|
public ReturnStmt(Expr toReturn)
ReturnStmt which returns the value of the specified expression.toReturn - the expression to evaluate to produce the return value