summaryrefslogtreecommitdiff
path: root/lib/ruby_vm/mjit/compiler.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2022-12-23 17:15:55 -0800
committerTakashi Kokubun <[email protected]>2023-03-05 22:11:20 -0800
commitd46cc2c1047d3811386ff4f95ec0a877cc40172a (patch)
treea5e912d9caece53fbbc2c2cc13668b33ba612d20 /lib/ruby_vm/mjit/compiler.rb
parent5db2ef5e1480fe15299ea39fe062376e50e35b47 (diff)
Remove <main> specialization
Diffstat (limited to 'lib/ruby_vm/mjit/compiler.rb')
-rw-r--r--lib/ruby_vm/mjit/compiler.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/ruby_vm/mjit/compiler.rb b/lib/ruby_vm/mjit/compiler.rb
index 652feb9a34..62a42a951f 100644
--- a/lib/ruby_vm/mjit/compiler.rb
+++ b/lib/ruby_vm/mjit/compiler.rb
@@ -30,8 +30,6 @@ module RubyVM::MJIT
# @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)