$search
Bytecode array in the form of a dequeue, for construction. More...
#include <compiler.h>
Public Types | |
| typedef std::map< unsigned, unsigned > | EventAddressesToIdsMap |
| A map of event addresses to identifiers. | |
Public Member Functions | |
| BytecodeVector () | |
| Constructor. | |
| void | changeStopToRetSub () |
| Change "stop" bytecode to "return from subroutine". | |
| EventAddressesToIdsMap | getEventAddressesToIds () const |
| Get the map of event addresses to identifiers. | |
| unsigned short | getTypeOfLast () const |
| Return the type of last bytecode element. | |
| 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 122 of file compiler.h.
| typedef std::map<unsigned, unsigned> Aseba::BytecodeVector::EventAddressesToIdsMap |
A map of event addresses to identifiers.
Definition at line 141 of file compiler.h.
| Aseba::BytecodeVector::BytecodeVector | ( | ) | [inline] |
Constructor.
Definition at line 125 of file compiler.h.
| void Aseba::BytecodeVector::push_back | ( | const BytecodeElement & | be | ) | [inline] |
Definition at line 131 of file compiler.h.
| unsigned Aseba::BytecodeVector::callDepth |
for callable bytecode (i.e. subroutines), used in analysis of stack check
Definition at line 128 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 129 of file compiler.h.
| unsigned Aseba::BytecodeVector::maxStackDepth |
maximum depth of the stack used by all the computations of the bytecode
Definition at line 127 of file compiler.h.