Kiwi Engine
VM for interpreter
|
#include <KEInstruction.h>
Instruction class
union { ... } |
Operands
KERegisterId KEInstruction::arrayId |
Array variable id
struct { ... } KEInstruction::binaryInstruction |
Operand for boolean binary instruction
struct KEInstruction* KEInstruction::bodyInstruction |
Body of loop instruction
struct KEInstruction* KEInstruction::caseInstruction |
Body of case instruction
struct CNObjectList KEInstruction::caseInstructionList |
List of case statements (KEInstruction with KESwithOpcode)
int64_t KEInstruction::caseValue |
Case value. This value is valid when the isDefaultCondition value is False.
struct KEInstruction* KEInstruction::compoundInstruction |
Body instruction of function
struct { ... } KEInstruction::compoundInstruction |
Operand for compound instruction
KERegisterId KEInstruction::conditionId |
Condition register id
struct KEValue KEInstruction::constantValue |
Source constant value
struct { ... } KEInstruction::createFunctionInstruction |
Operand for create-function instruction
struct KEInstruction* KEInstruction::defaultInstruction |
Default case instruction (will be NULL)
KERegisterId KEInstruction::destinationId |
Destination register id
KERegisterId KEInstruction::destinationIndex |
Index of the array
KERegisterId KEInstruction::destinationKey |
Key value for the dictionary
struct KEPath* KEInstruction::destinationPath |
Path of the slot
KERegisterId KEInstruction::dictionaryId |
Array variable id
KERegisterId KEInstruction::elementId |
element variable id
struct KEInstruction* KEInstruction::elseInstruction |
Else part instruction. If the instruction does not have else part, this value will be NULL
struct { ... } KEInstruction::exitInstruction |
Exit instruction
KERegisterId KEInstruction::functionId |
Function register id
struct { ... } KEInstruction::functionInstruction |
Operand for function instruction
struct CNObjectList KEInstruction::hiddenRegisters |
List of CNNumber object. This will be used to present the local registers for the hidden parameters
struct CNObjectList KEInstruction::instructionList |
List of KEInstructions
CNBoolean KEInstruction::isDefaultCondition |
Is default or not
KERegisterId KEInstruction::leftId |
Source left register id
struct KELineInfo* KEInstruction::lineInfo |
Line information
KERegisterId KEInstruction::maxLocalRegisterId |
Max local register id
struct { ... } KEInstruction::moveInstruction |
Operand for move instruction
KEOpcode KEInstruction::opCode |
Code of instruction
struct CNObjectList KEInstruction::parameterRegisters |
List of register id (CNNumber *) to pass parameters
struct KEPath* KEInstruction::path |
Path for the function
Path of the built-in function
struct KEValue* KEInstruction::pathValue |
FunctionValue which is pointed by the path. This will be set at the linker phase.
BuiltinFuncValue which is pointed by the path. This will be set at the linker phase.
struct CNObjectList KEInstruction::returnRegisters |
List of register id (CNNumber *) to store results
KERegisterId KEInstruction::rightId |
Source right register id
struct KEFrame* KEInstruction::rootFrame |
Value which is pointed path
struct { ... } KEInstruction::setInstruction |
Operand for set instruction
KERegisterId KEInstruction::sourceId |
Source register id
KERegisterId KEInstruction::sourceIndex |
Index of the array
KERegisterId KEInstruction::sourceKey |
Key for the dictionary
struct KEPath* KEInstruction::sourcePath |
Path of the slot
struct CNObject KEInstruction::superClass |
Super class
struct KEInstruction* KEInstruction::thenInstruction |
Then part instruction
struct { ... } KEInstruction::unaryInstruction |
Operand for boolean unary instruction