public class Procedure
extends java.lang.Object
main
procedure is actually passed arguments, but will ignore them)int| Constructor and Description |
|---|
Procedure(java.lang.String name,
Stmt body)
Constructs a
Procedure with specified name and body. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toLLVM()
Generate the LLVM code that defines this procedure.
|
public Procedure(java.lang.String name,
Stmt body)
Procedure with specified name and body.name - the procedure's namebody - the statement to execute when the procedure is called