summaryrefslogtreecommitdiff
path: root/vm_trace.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-08-12 10:30:42 +0900
committerNobuyoshi Nakada <[email protected]>2021-08-13 13:29:15 +0900
commit573eef7c897ff938539270e605445da13093d664 ()
tree8c3cb11344f3ab581f013cb9f2d7bd7e07a5148c /vm_trace.c
parent5534698b84c1ef1567ebb1e2d79fbe1a2a573a77 (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.
0 files changed, 0 insertions, 0 deletions