A reference to one of the ten local registers, whose values are initially zero on entry into the cell. More...
#include <ast.hh>


Public Member Functions | |
| virtual void | construct (const pegmatite::InputRange &r, pegmatite::ASTStack &st) override |
| virtual uint16_t | interpret (Interpreter::State &) override |
| Returns the value in this register (when interpreting the AST). | |
| virtual void | assign (Interpreter::State &, uint16_t) override |
| Assigns a value to the register (when interpreting the AST). | |
| virtual llvm::Value * | compile (Compiler::State &) override |
| Returns an LLVM value representing an access to this register (when compiling). | |
| virtual void | assign (Compiler::State &, llvm::Value *) override |
| Generates code for assigning the specified value to this register (when compiling). | |
Public Attributes | |
| int | registerNumber |
| The number of the local register that this references. | |
A reference to one of the ten local registers, whose values are initially zero on entry into the cell.
1.8.8