Dev::Jit


Methods

uint64 Call(?&in rcx)

uint64 Call() Calls the code as a function. Note that this expects your code to behave like a real function - you have to return and retain rbp. Return value is rax and can be ignored if unused.

uint64 GetPointer() Returns the pointer to the first instruction of the assembled code. This memory is executable. Note that this pointer is only valid for the lifetime of the Jit object!