JITContext

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.

See also

Summary
JITContextThis class allocates and releases a context object for compiling a function using libJIT.
Functions
JITContext.newCreate a new context object for compiling a function.
JITContext.buildThe function takes a code block as argument.
buildThe function takes a code block as argument.

Functions

JITContext.new

def JITContext.new

Create a new context object for compiling a function.  Do not use this constructor.  Use JITFunction.compile instead.

JITContext.build

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.

build

def build

The function takes a code block as argument.  Do not use this method.  Use JITFunction.compile instead.

def JITContext.new
Create a new context object for compiling a function.
def JITContext.build
The function takes a code block as argument.
def build
The function takes a code block as argument.
def compile
Translate the function to machine code.
This is the main class for compiling and executing functions using libJIT.
Close