diff options
| author | Satoshi Tagomori <s-tagomori@sakura.ad.jp> | 2025-06-29 09:44:31 +0900 |
|---|---|---|
| committer | Satoshi Tagomori <tagomoris@gmail.com> | 2025-09-29 01:15:38 +0900 |
| commit | bb21b619f01926fa99f6cca5ec8ac89389207d10 (patch) | |
| tree | 0a1e916b314cf695043d5b8ff7768cd254435c41 /namespace.c | |
| parent | 48523daef68a9ad2361bb2ee281c90e940330ed2 (diff) | |
Detect the correct loading namespace from control frames
* checking all control frames (instead of filtering by VM_FRAME_RUBYFRAME_P)
because VM_FRAME_FLAG_NS_REQUIRE is set on non-rubyframe
* skip frames of CFUNC in the root namespace for Kernel#require (etc) to avoid
detecting the root namespace of those frames wrongly
Diffstat (limited to 'namespace.c')
0 files changed, 0 insertions, 0 deletions
