ruby/tool/ruby_vm
Jeremy Evans 48c8df9e0e
Allow tracing of optimized methods
This updates the trace instructions to directly dispatch to
opt_send_without_block.  So this should cause no slowdown in
non-trace mode.

To enable the tracing of the optimized methods, RUBY_EVENT_C_CALL
and RUBY_EVENT_C_RETURN are added as events to the specialized
instructions.

Fixes [Bug #14870]

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2021-08-21 10:15:01 -07:00
..
controllers delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
helpers Escape '/*' within block comment too 2020-10-26 09:01:27 +09:00
loaders An ellipsis (...) can only be placed at the beginning 2020-10-29 18:14:27 +09:00
models Lazily move PC with RUBY_VM_CHECK_INTS 2020-12-16 23:06:28 -08:00
scripts delete emacs mode lines [ci skip] 2018-12-27 06:12:09 +00:00
tests new insns.def format (2nd try) 2018-01-12 08:38:07 +00:00
views Allow tracing of optimized methods 2021-08-21 10:15:01 -07:00