refactor(B3.2): move control flow to lower/control_flow.zig
Verbatim relocation of the 14-method control-flow cluster (if/while/ for/match lowering incl. comptime-inline variants, break/continue, block plumbing: freshBlock, freshBlockWithParams, currentBlockHasTerminator, ensureTerminator) into src/ir/lower/control_flow.zig. 14 aliases on Lowering keep all call sites unchanged. Method pub-flips: computeHasImpl, headTypeGate, inferMatchResultType, resolveTypeCategoryTags, isTypeCategoryMatch. Unqualified references in moved bodies (ComptimeValue nested type, isTypeCategoryMatch static) resolved via file-scope alias consts — bodies stay verbatim. Gate: zig build OK; zig build test 426/426; run_examples 541/0; zero expected/ snapshot churn.
This commit is contained in:
937
src/ir/lower.zig
937
src/ir/lower.zig
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user