summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-30 23:42:00 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commitd7dba4c51066eb706987356ad6b862a0b60b1aeb (patch)
tree7478f150a42c15b82fad0a8e555b5815a45f9263 /lib/ruby_vm/mjit/compiler.rb
parent36cec59f0a54b817ae6b3836fb0e97e342b999ce (diff)
Colorize outlined code
Diffstat (limited to 'lib/ruby_vm/mjit/compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/compiler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb
index e114d43e0d..6203863218 100644
--- a/lib/ruby_vm/mjit/compiler.rb
+++ b/lib/ruby_vm/mjit/compiler.rb
@@ -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