summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mjit/compiler.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/mjit/compiler.rb b/lib/mjit/compiler.rb
index a7546a340d..a305b6e7c4 100644
--- a/lib/mjit/compiler.rb
+++ b/lib/mjit/compiler.rb
@@ -97,6 +97,8 @@ module RubyVM::MJIT
return status.success
end
+ private
+
# Compile one conditional branch. If it has branchXXX insn, this should be
# called multiple times for each branch.
def compile_insns(stack_size, pos, status, body, f)
@@ -240,13 +242,8 @@ module RubyVM::MJIT
end
return compile_insn_default(insn, stack_size, sp_inc, local_stack_p, pos, next_pos, insn_len, inlined_iseq_p, operands)
- rescue => e
- puts e.full_message
- nil
end
- private
-
# Optimized case of send / opt_send_without_block instructions.
# _mjit_compile_send.erb
def compile_send(insn, stack_size, sp_inc, local_stack_p, pos, next_pos, status, operands, body)