diff options
| author | Max Bernstein <rubybugs@bernsteinbear.com> | 2025-10-27 18:53:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-27 22:53:28 +0000 |
| commit | 8d45e1f34e9a169987587d99a837b4ee035d7000 (patch) | |
| tree | 081f85ca1c075bfef97ad775c333b9af17413480 /include/ruby/debug.h | |
| parent | d97fb3b424cebb812012a4e8a497a88510be9b72 (diff) | |
ZJIT: Fix internal compiler error looking up profiles for trace_getinstancevariable (#14969)
We treat getinstancevariable differently from other opcodes: it does not
look at the stack for its self operand, but instead looks at
`cfp->self`. In some cases, we might see the `trace_` variant in the
front-end, so make sure we treat that the same.
Example repro:
```
def test
@foo
end
28.times do
test
end
trace = TracePoint.trace(:call) do |tp|
puts tp.method_id
end
trace.enable do
30.times do
test
end
end
```
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions
