diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-12 10:30:42 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-08-13 13:29:15 +0900 |
| commit | 573eef7c897ff938539270e605445da13093d664 (patch) | |
| tree | 8c3cb11344f3ab581f013cb9f2d7bd7e07a5148c /spec/ruby/core/basicobject/fixtures | |
| parent | 5534698b84c1ef1567ebb1e2d79fbe1a2a573a77 (diff) | |
Indicate the slow path of `Check_Type` never return [Bug #18062]
Though this call to `rb_check_type` is just to raise an exception
and never return actually, it can return at least formally. That
means a caller function looks like it will access `flags` even in
the special-const cases, and some optimizers may unify the access
with the same access just following the call, and re-order it
before the guard.
Diffstat (limited to 'spec/ruby/core/basicobject/fixtures')
0 files changed, 0 insertions, 0 deletions
