diff options
| author | Stan Lo <stan.lo@shopify.com> | 2025-07-08 17:38:44 +0100 |
|---|---|---|
| committer | Max Bernstein <ruby@bernsteinbear.com> | 2025-07-08 15:51:43 -0400 |
| commit | 79915e6f782dc71f32c0d8d45878f0990f755df5 (patch) | |
| tree | 4233cec7a8cf91423ac2891081c3e1fb7e94e25e /spec/ruby/core/kernel/lambda_spec.rb | |
| parent | b16047088ac9f649d2adaf92a99b3f47ef75ebe4 (diff) | |
ZJIT: Profile `nil?` calls
This allows ZJIT to profile `nil?` calls and create type guards for
its receiver.
- Add `zjit_profile` to `opt_nil_p` insn
- Start profiling `opt_nil_p` calls
- Use `runtime_exact_ruby_class` instead of `exact_ruby_class` to determine
the profiled receiver class
Diffstat (limited to 'spec/ruby/core/kernel/lambda_spec.rb')
0 files changed, 0 insertions, 0 deletions
