public class CallExpr extends Expr
int argument and return an int value.| Constructor and Description |
|---|
CallExpr(java.lang.String procName,
Expr argument)
Constructs a
CallExpr with a given procedure name and argument. |
| Modifier and Type | Method and Description |
|---|---|
ValueAndCode |
toLLVM()
Generate the LLVM code that should be executed to evaluate this expression.
|
public CallExpr(java.lang.String procName,
Expr argument)
CallExpr with a given procedure name and argument.procName - the name of the procedure to callargument - the expression that computes the argument valuepublic ValueAndCode toLLVM()
ExprtoLLVM in class ExprValueAndCode object packaging together two facts: