diff options
| author | Jean Boussier <byroot@ruby-lang.org> | 2023-11-23 09:44:47 +0100 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2023-11-23 11:19:12 +0100 |
| commit | f1c32c0ee08e924e202f529ee8438d2de4f2702a (patch) | |
| tree | 4253b8e4068012185a32d75113a93162b0e5ad81 /test/ruby/test_inlinecache.rb | |
| parent | 784fdecc4c9f6ba9a8fc872518872ed6bdbc6670 (diff) | |
vm_setivar_slowpath: only optimize T_OBJECT
We've seen occasional CI failures on i686 in this codepath:
```
[BUG] vm_setivar_slowpath: didn't find ivar @verify_depth in shape
```
Generic ivars are very complex to get right, but also quite rare.
I don't see a good reason to take the risk to give them an optimized
path here, when the much more common T_CLASS/T_MODULE don't have one.
Having an optimization here means duplicating the fairly brittle
logic, which is a recipe for bugs, and I don't think it's worth
it in such case.
Diffstat (limited to 'test/ruby/test_inlinecache.rb')
0 files changed, 0 insertions, 0 deletions
