Class: RLTK::CG::MCJITCompilerOptions
- Inherits:
-
Bindings::MCJITCompilerOptions
- Object
- FFI::Struct
- Bindings::MCJITCompilerOptions
- RLTK::CG::MCJITCompilerOptions
- Defined in:
- lib/rltk/cg/execution_engine.rb
Overview
Options for initializing a MCJITCompiler.
Instance Method Summary collapse
-
#initialize(opt_level = 0, code_model = :jit_default, no_frame_pointer_elim = false, enable_fast_i_sel = true) ⇒ MCJITCompilerOptions
constructor
Create an object representing MCJIT compiler options.
Constructor Details
#initialize(opt_level = 0, code_model = :jit_default, no_frame_pointer_elim = false, enable_fast_i_sel = true) ⇒ MCJITCompilerOptions
Create an object representing MCJIT compiler options.
169 170 171 172 173 174 175 |
# File 'lib/rltk/cg/execution_engine.rb', line 169 def initialize(opt_level = 0, code_model = :jit_default, no_frame_pointer_elim = false, enable_fast_i_sel = true) Bindings.(self.to_ptr, self.class.size) super(opt_level, code_model, no_frame_pointer_elim.to_i, enable_fast_i_sel.to_i, nil) end |