Skip to content

Commit

Permalink
Remove <main> specialization
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Mar 6, 2023
1 parent 5db2ef5 commit d46cc2c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ruby_vm/mjit/compiler.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def initialize(mem_block)

# @param iseq [RubyVM::MJIT::CPointer::Struct]
def call(iseq)
return if iseq.body.location.label == '<main>'

asm = X86Assembler.new
compile_prologue(asm)
compile_block(asm, iseq)
Expand Down

0 comments on commit d46cc2c

Please sign in to comment.