Class: RLTK::CG::MCJITCompiler
- Inherits:
-
ExecutionEngine
- Object
- ExecutionEngine
- RLTK::CG::MCJITCompiler
- Defined in:
- lib/rltk/cg/execution_engine.rb
Overview
The new LLVM JIT execution engine.
Constant Summary
Constants inherited from ExecutionEngine
ExecutionEngine::CLASS_FINALIZER
Instance Attribute Summary
Attributes inherited from ExecutionEngine
Attributes included from BindingClass
Instance Method Summary collapse
-
#initialize(mod, options = MCJITCompilerOptions.new) ⇒ MCJITCompiler
constructor
Create a new MC just-in-time-compiler.
Methods inherited from ExecutionEngine
#pointer_to_global, #run_function, #run_function_as_main, #target_data
Methods included from BindingClass
Constructor Details
#initialize(mod, options = MCJITCompilerOptions.new) ⇒ MCJITCompiler
Create a new MC just-in-time-compiler.
188 189 190 191 192 |
# File 'lib/rltk/cg/execution_engine.rb', line 188 def initialize(mod, = MCJITCompilerOptions.new) super(mod) do |ptr, error| Bindings.create_mcjit_compiler_for_module(ptr, mod, , MCJITCompilerOptions.size, error) end end |