#include <instructioncontext.h>
Public Member Functions | |
InstructionContext (BasicSmartPointer< InstructionContext > parent) | |
void | addInstruction (const char *instr, int id) |
int | getInstructionId (const char *instr) |
BasicSmartPointer< InstructionContext > | getParent () |
Static Public Member Functions | |
static int | getNextExecId () |
|
Construct a default InstructionContext.
|
|
Add a new instruction mapping.
|
|
Look up an instruction id. This function will first look in the local context for the instruction. If it is not found it will ask its parent. This matching is simalar to the idea of scope in C/C++.
|
|
Get the InstructionContext parent pointer.
|
|
|