diff options
author | Max Bernstein <[email protected]> | 2025-04-29 12:27:10 -0400 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2025-04-29 11:01:33 -0700 |
commit | b970ff1850ba88717d11a9ced55fb83334b38ffe () | |
tree | f03624977cfebb65705151ad220106ba8a946482 /tool | |
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: Merged: https://.com/ruby/ruby/pull/13204
0 files changed, 0 insertions, 0 deletions