public class ConstExpr extends Expr
| Constructor and Description |
|---|
ConstExpr(int value)
Constructs an
ConstExpr with the specified value. |
| Modifier and Type | Method and Description |
|---|---|
ValueAndCode |
toLLVM()
Generate the LLVM code that should be executed to evaluate this expression.
|
public ConstExpr(int value)
ConstExpr with the specified value.value - the specific integer constantpublic ValueAndCode toLLVM()
toLLVM in class ExprValueAndCode object packaging together two facts: