The interface that AS use to interact with the JIT compiler.
More...
This is the minimal interface that the JIT compiler must implement so that AngelScript can request the compilation of the script functions.
- See also
- How to build a JIT compiler
◆ CompileFunction()
- Parameters
-
[in] | function | A pointer to the script function |
[out] | output | The JIT compiled function |
- Returns
- A negative value on error.
AngelScript will call this function to request the compilation of a script function. The JIT compiler should produce the native machine code representation of the function and update the JitEntry instructions in the byte code to allow the VM to transfer the control to the JIT compiled function.
◆ ReleaseJITFunction()
virtual void asIJITCompiler::ReleaseJITFunction |
( |
asJITFunction |
func | ) |
|
|
pure virtual |
- Parameters
-
[in] | func | Pointer to the JIT function |
The documentation for this class was generated from the following file: