mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
15 lines
350 B
Ruby
15 lines
350 B
Ruby
class RubyVM::MJIT::Compiler
|
|
C = RubyVM::MJIT.const_get(:C, false)
|
|
INSNS = RubyVM::MJIT.const_get(:INSNS, false)
|
|
|
|
# @param mem_block [Integer] JIT buffer address
|
|
def initialize(mem_block)
|
|
@mem_block = mem_block
|
|
@write_pos = 0
|
|
end
|
|
|
|
# @param iseq [RubyVM::MJIT::CPointer::Struct]
|
|
def compile(iseq)
|
|
# TODO: implement
|
|
end
|
|
end
|