|
Aseba
1.5.5
|
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 | push_back (const BytecodeElement &be) |
| void | changeStopToRetSub () |
| Change "stop" bytecode to "return from subroutine". | |
| unsigned short | getTypeOfLast () const |
| Return the type of last bytecode element. | |
| EventAddressesToIdsMap | getEventAddressesToIds () const |
| Get the map of event addresses to identifiers. | |
Public Attributes | |
| unsigned | maxStackDepth |
| maximum depth of the stack used by all the computations of the bytecode | |
| unsigned | callDepth |
| for callable bytecode (i.e. More... | |
| unsigned | lastLine |
| last line added, normally equal *this[this->size()-1].line, but may differ for instance on loops | |
Bytecode array in the form of a dequeue, for construction.
| unsigned Aseba::BytecodeVector::callDepth |
for callable bytecode (i.e.
subroutines), used in analysis of stack check
1.8.11