diff options
| author | Max Bernstein <ruby@bernsteinbear.com> | 2025-07-14 13:30:58 -0400 |
|---|---|---|
| committer | Max Bernstein <ruby@bernsteinbear.com> | 2025-07-14 16:34:32 -0400 |
| commit | a6d483971a69436f5055cc9b5519256ef2630eb9 (patch) | |
| tree | 09f6244c28f327f374940567b0cc8f83fbe491ad /include/ruby/internal/error.h | |
| parent | 3a47f4eacf3cd755df9db554a0b5e40789611602 (diff) | |
ZJIT: Make debug info more detailed
Print the filename, line number, and whether or not the function has
been optimized:
```
Initial HIR:
fn initialize@test.rb:4:
bb0(v0:BasicObject):
v2:Fixnum[1] = Const Value(1)
SetIvar v0, :@a, v2
Return v2
Optimized HIR:
fn initialize@test.rb:4:
bb0(v0:BasicObject):
v2:Fixnum[1] = Const Value(1)
SetIvar v0, :@a, v2
Return v2
```
Diffstat (limited to 'include/ruby/internal/error.h')
0 files changed, 0 insertions, 0 deletions
