diff options
-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) |