diff options
author | Takashi Kokubun <[email protected]> | 2022-12-23 17:39:34 -0800 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2023-03-05 22:11:20 -0800 |
commit | 25ae82b83e36f96d18d1ba29431676329b7307d8 (patch) | |
tree | 4f999e9e22bc80344ee3aa248239f00bdb37a7a8 | |
parent | d46cc2c1047d3811386ff4f95ec0a877cc40172a (diff) |
Skip supporting has_opt for now
-rw-r--r-- | lib/ruby_vm/mjit/compiler.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb index 62a42a951f..c744c533a0 100644 --- a/lib/ruby_vm/mjit/compiler.rb +++ b/lib/ruby_vm/mjit/compiler.rb @@ -30,6 +30,9 @@ module RubyVM::MJIT # @param iseq [RubyVM::MJIT::CPointer::Struct] def call(iseq) + # TODO: Support has_opt + return if iseq.body.param.flags.has_opt + asm = X86Assembler.new compile_prologue(asm) compile_block(asm, iseq) |