diff options
author | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-23 14:11:19 +0000 |
---|---|---|
committer | k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-23 14:11:19 +0000 |
commit | e1be448840da9ac2db4eeeed5d07ae8a765bacce (patch) | |
tree | 0d2ffded9f46497fa10af1a2bc7193750fba49ec /benchmark/bm_so_exception.rb | |
parent | a62a776d575ada3cb3a8ae2beb8a2908a27648a1 (diff) |
mjit.c: disable calling JIT-ed code
when TracePoint is enabled. We're cancelling JIT-ed code execution AFTER
each instruction, but there is no guard before the first insn of method.
To prevent spoiling performance, I don't want to modify the JIT-ed code
to fix this. So this commit replaces `mjit_enabled` check with `mjit_call_p`
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_so_exception.rb')
0 files changed, 0 insertions, 0 deletions