Bytecode array in the form of a dequeue, for construction. More...
#include <compiler.h>
Public Member Functions | |
BytecodeVector () | |
Constructor. | |
BytecodeVector () | |
Constructor. | |
void | push_back (const BytecodeElement &be) |
void | push_back (const BytecodeElement &be) |
Public Attributes | |
unsigned | callDepth |
for callable bytecode (i.e. subroutines), used in analysis of stack check | |
unsigned | lastLine |
last line added, normally equal *this[this->size()-1].line, but may differ for instance on loops | |
unsigned | maxStackDepth |
maximum depth of the stack used by all the computations of the bytecode |
Bytecode array in the form of a dequeue, for construction.
Definition at line 110 of file compiler.h.
Aseba::BytecodeVector::BytecodeVector | ( | ) | [inline] |
Constructor.
Definition at line 113 of file compiler.h.
Aseba::BytecodeVector::BytecodeVector | ( | ) | [inline] |
Constructor.
Definition at line 113 of file compiler.h.
void Aseba::BytecodeVector::push_back | ( | const BytecodeElement & | be | ) | [inline] |
Definition at line 119 of file compiler.h.
void Aseba::BytecodeVector::push_back | ( | const BytecodeElement & | be | ) | [inline] |
Definition at line 119 of file compiler.h.
unsigned Aseba::BytecodeVector::callDepth |
for callable bytecode (i.e. subroutines), used in analysis of stack check
Definition at line 116 of file compiler.h.
unsigned Aseba::BytecodeVector::lastLine |
last line added, normally equal *this[this->size()-1].line, but may differ for instance on loops
Definition at line 117 of file compiler.h.
unsigned Aseba::BytecodeVector::maxStackDepth |
maximum depth of the stack used by all the computations of the bytecode
Definition at line 115 of file compiler.h.