mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
Colorize outlined code
This commit is contained in:
parent
36cec59f0a
commit
d7dba4c510
2 changed files with 15 additions and 4 deletions
|
@ -32,7 +32,7 @@ module RubyVM::MJIT
|
|||
# @param mem_size [Integer] JIT buffer size
|
||||
def initialize(mem_block, mem_size)
|
||||
@cb = CodeBlock.new(mem_block: mem_block, mem_size: mem_size / 2)
|
||||
@ocb = CodeBlock.new(mem_block: mem_block + mem_size / 2, mem_size: mem_size / 2)
|
||||
@ocb = CodeBlock.new(mem_block: mem_block + mem_size / 2, mem_size: mem_size / 2, outlined: true)
|
||||
@exit_compiler = ExitCompiler.new
|
||||
@insn_compiler = InsnCompiler.new(@ocb)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue