summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorMax Bernstein <max.bernstein@shopify.com>2025-04-29 12:27:10 -0400
committerTakashi Kokubun <takashikkbn@gmail.com>2025-04-29 11:01:33 -0700
commitb970ff1850ba88717d11a9ced55fb83334b38ffe (patch)
treef03624977cfebb65705151ad220106ba8a946482 /include/ruby/encoding.h
parent608fe6ee535e10b0203516b9d8c8039703aea3c5 (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/encoding.h')
0 files changed, 0 insertions, 0 deletions