mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 16:44:01 +02:00
Rework vm_core to use int first_lineno
struct member.
This commit is contained in:
parent
75cf29f60d
commit
22af2e9084
Notes:
git
2022-09-25 20:41:49 +09:00
10 changed files with 34 additions and 36 deletions
|
@ -785,8 +785,8 @@ module RubyVM::MJIT
|
|||
|
||||
if C.mjit_opts.verbose >= 1 # print beforehand because ISeq may be GCed during copy job.
|
||||
child_location = child_iseq.body.location
|
||||
$stderr.puts "JIT inline: #{child_location.label}@#{C.rb_iseq_path(child_iseq)}:#{child_location.first_lineno} " \
|
||||
"=> #{iseq.body.location.label}@#{C.rb_iseq_path(iseq)}:#{iseq.body.location.first_lineno}"
|
||||
$stderr.puts "JIT inline: #{child_location.label}@#{C.rb_iseq_path(child_iseq)}:#{C.rb_iseq_first_lineno(child_iseq)} " \
|
||||
"=> #{iseq.body.location.label}@#{C.rb_iseq_path(iseq)}:#{C.rb_iseq_first_lineno(iseq)}"
|
||||
end
|
||||
if !precompile_inlinable_child_iseq(f, child_iseq, status, ci, cc, pos)
|
||||
return false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue