summaryrefslogtreecommitdiff
path: root/test/ruby/test_method_cache.rb
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2025-12-05 23:32:15 -0800
committerJohn Hawthorn <john@hawthorn.email>2025-12-11 09:53:10 -0800
commit459c377222e746a5e39756bf5d648d16893e831c (patch)
tree69a69d9568d2b2e765f6942489baa412b5f9bb77 /test/ruby/test_method_cache.rb
parentb5604833a37bf8cac132906fbf8297d6d4ae9976 (diff)
Assume result from allocator will be valid
This adds a fastpath in class_call_alloc_func to simply return if the class matches the one expected. I think we could probably just remove this check, or move it to the debug build.
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions