refactor(B3.1): move statement lowering to lower/stmt.zig
Verbatim relocation of the 24-method statement cluster (block/stmt dispatch, var/const/local-fn decls, return, assignment + compound ops, multi-assign/destructure, push, defer/onfail/cleanup) plus the nested single-home FieldLvalue type into src/ir/lower/stmt.zig. 24 aliases on Lowering keep all call sites unchanged. Method pub-flips: buildDefaultValue, buildProtocolErasure, diagPackAsValue, diagnoseMissingContext, emitError, emitFieldError, ensureTerminator, getExprAlloca, getJniEnvTlFids, isPackName, lazyLowerFunction, lowerObjcDefinedStateForObj, lowerObjcPropertySetter, recordLocalTypeName, registerEnumDecl, registerErrorSetDecl, registerStructDecl, registerUnionDecl, zeroValue. Gate: zig build OK; zig build test 426/426; run_examples 541/0; zero expected/ snapshot churn.
This commit is contained in:
1293
src/ir/lower.zig
1293
src/ir/lower.zig
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user