summaryrefslogtreecommitdiff
path: root/spec/ruby/core/integer/complement_spec.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2020-11-06 11:33:43 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2020-11-09 09:44:16 -0800
commit5582c5a2327d824e872f7f5bd22330094f189d66 (patch)
tree7c1dd030af9aa17bc082f31b3ee195e10286cf11 /spec/ruby/core/integer/complement_spec.rb
parenteb229994e5b53e201e776ea103970751d3b1725b (diff)
Remove iv table size check
iv tables cannot shrink. If the inline cache was ever set, then there must be an entry for the instance variable in the iv table. Just set the iv list on the object to be equal to the iv index table size, then set the iv.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3740
Diffstat (limited to 'spec/ruby/core/integer/complement_spec.rb')
0 files changed, 0 insertions, 0 deletions