summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorJeff Zhang <jeff@39bytes.dev>2026-01-13 20:06:01 -0500
committerGitHub <noreply@github.com>2026-01-13 20:06:01 -0500
commit65a484578072f86586f250ae28712930da14cf53 (patch)
tree3538922daa6a174246c92e0c6e7eb3ee22230345 /test/ruby
parent4f8478f50cd12e1144addcef0cbff35e9ee1e3db (diff)
ZJIT: Constant-fold LoadField/GuardBitEquals from known-frozen object
Resolves https://github.com/Shopify/ruby/issues/915 When we have `LoadField` with a `Shape` return type, we can fold it similar to the object case. `GuardBitEquals` can be removed when the argument is `Const` and the values are equal. The behaviors for loading instances variables from frozen/dynamic objects are already covered in existing tests so no new tests were added.
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions