diff options
| author | Max Bernstein <max.bernstein@shopify.com> | 2025-04-29 12:27:10 -0400 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2025-04-29 11:01:33 -0700 |
| commit | b970ff1850ba88717d11a9ced55fb83334b38ffe (patch) | |
| tree | f03624977cfebb65705151ad220106ba8a946482 /include/ruby/assert.h | |
| parent | 608fe6ee535e10b0203516b9d8c8039703aea3c5 (diff) | |
Default instruction output type to Any
If we're adding a bunch of instructions in the middle of an optimization
pass, we don't want to use their (currently uninitialized) types because
they start as Empty, and Empty is a subtype of everything. This breaks
some optimizations.
This Any will get refined the next time we call infer_types.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13204
Diffstat (limited to 'include/ruby/assert.h')
0 files changed, 0 insertions, 0 deletions
