summaryrefslogtreecommitdiff
path: root/ext/psych/lib/psych/visitors.rb
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2024-04-25 17:01:54 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2024-04-25 18:38:14 -0400
commit9b5bc8e6ea3e5269a5415546a33fd09035eab168 (patch)
tree574875a8327723340babd442c40d080fa603899c /ext/psych/lib/psych/visitors.rb
parent49753cd082b31b82b527eb683c9381cd5787293d (diff)
YJIT: Relax `--yjit-verify-ctx` after singleton class creationHEADmaster
Types like `Type::CString` really only assert that at one point the object had its class field equal to `String`. Once a singleton class is created for any strings, the type makes no assertion about any class field anymore, and becomes the same as `Type::TString`. Previously, the `--yjit-verify-ctx` option wasn't allowing objects of these kind that have have singleton classes to pass verification even though the code generators handle it just fine. Found through `ruby/spec`.
Diffstat (limited to 'ext/psych/lib/psych/visitors.rb')
0 files changed, 0 insertions, 0 deletions