12#ifndef ARK_COMPILER_INTERMEDIATEREPRESENTATION_ENTITY_HPP
13#define ARK_COMPILER_INTERMEDIATEREPRESENTATION_ENTITY_HPP
73 using Block = std::vector<Entity>;
The different instructions used by the compiler and virtual machine.
Describe an instruction and its immediate argument.
uint16_t secondaryArg() const
static Entity GotoIf(const Entity &label, bool cond)
uint16_t primaryArg() const
std::vector< Entity > Block
constexpr uint16_t MaxValueForDualArg
The maximum value an argument can have when an IR entity has two arguments.
Instruction
The different bytecodes are stored here.