IR

Undocumented in source.

Members

Aliases

Op
alias Op = uintptr_t
Undocumented in source.

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.

printfunc
void printfunc(IR* code)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta