summaryrefslogtreecommitdiff
path: root/spec/ruby/core
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-11-12 09:25:14 -0800
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:26 -0400
commitbe91995a5e91c2ad0136e44f553ffdd80342d090 (patch)
tree5a9f1375d92b1dd973b2b52ae418b1e3f3854a68 /spec/ruby/core
parente17053c72090dd8d732742386303f9964b6326ce (diff)
Remove T_OBJECT runtime check
If the cached class uses the default allocator, then all instances coming from the class should be T_OBJECT instances. Meaning we can just check the allocator function at compile time, then skip the runtime T_OBJECT check
Diffstat (limited to 'spec/ruby/core')
0 files changed, 0 insertions, 0 deletions