summaryrefslogtreecommitdiff
path: root/test/prism/fixtures/3.3-3.3/block_args_in_array_assignment.txt
diff options
context:
space:
mode:
authorMax Bernstein <rubybugs@bernsteinbear.com>2026-01-21 14:23:29 -0500
committerGitHub <noreply@github.com>2026-01-21 19:23:29 +0000
commit0cc4e212c47f15f9f5384fb9871a2da8a6276ed4 (patch)
treed0513556218558ed9789a771427f1fe985d5eba0 /test/prism/fixtures/3.3-3.3/block_args_in_array_assignment.txt
parentcfa97af7e1426c76b769495ef4b1689be3b0a685 (diff)
ZJIT: Get type information from branchif, branchunless, branchnil instructions (#15915)HEADmaster
Do a sort of "partial static single information (SSI)" form that learns types of operands from branch instructions. A branchif, for example, tells us that in the truthy path, we know the operand is not nil, and not false. Similarly, in the falsy path, we know the operand is either nil or false. Add a RefineType instruction to attach this information. This PR does this in SSA construction because it's pretty straightforward, but we can also do a more aggressive version of this that can learn information about e.g. int ranges from other checks later in the optimization pipeline.
Diffstat (limited to 'test/prism/fixtures/3.3-3.3/block_args_in_array_assignment.txt')
0 files changed, 0 insertions, 0 deletions