mirror of
https://github.com/ruby/ruby.git
synced 2025-08-27 15:06:10 +02:00
Handle failures on branch_stub_hit
This commit is contained in:
parent
aba530e23b
commit
1fa519fdae
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,8 @@ module RubyVM::MJIT
|
|||
compile_block(asm, jit:)
|
||||
iseq.body.jit_func = @cb.write(asm)
|
||||
rescue Exception => e
|
||||
$stderr.puts e.full_message # TODO: check verbose
|
||||
$stderr.puts e.full_message
|
||||
exit 1
|
||||
end
|
||||
|
||||
# Compile a branch stub.
|
||||
|
@ -119,6 +120,9 @@ module RubyVM::MJIT
|
|||
end
|
||||
|
||||
return target.address
|
||||
rescue Exception => e
|
||||
$stderr.puts e.full_message
|
||||
exit 1
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue