IR

Members

Static functions

call
void* call(CallContext* cc, Dobject othis, IR* code, Value* ret, Value* locals)

This is the main interpreter loop.

print
void print(uint address, IR* code)

This is a 'disassembler' for our interpreted code. Useful for debugging.

size
uint size(uint opcode)

Give size of opcode.

verify
uint verify(uint linnum, IR* codestart)

Verify that it is a correct sequence of code. Useful for isolating memory corruption bugs.

Meta