This class allocates and releases a context object for compiling a function using libJIT. The JIT classes are inspired by Paul Brannan’s ruby-libjit project. You should not invoke this class directly. Use JITFunction.compile instead.
| JITContext | This class allocates and releases a context object for compiling a function using libJIT. |
| Functions | |
| JITContext.new | Create a new context object for compiling a function. |
| JITContext. | The function takes a code block as argument. |
| build | The function takes a code block as argument. |
def JITContext.new
Create a new context object for compiling a function. Do not use this constructor. Use JITFunction.compile instead.
def JITContext.build
The function takes a code block as argument. Same as
JITContext.new.build { ... }Do not use this method. Use JITFunction.compile instead.
def build
The function takes a code block as argument. Do not use this method. Use JITFunction.compile instead.
Create a new context object for compiling a function.
def JITContext.new
The function takes a code block as argument.
def JITContext.build
The function takes a code block as argument.
def build
Translate the function to machine code.
def compile