refactor(B7.1): move call lowering to lower/call.zig
Verbatim relocation of the 18-method call cluster (lowerCall moved whole, context diagnostics, foreign-call helper, builtin/function resolution, generic + runtime-dispatch calls, reflection calls + guards, default-arg expansion, call param typing) into src/ir/lower/call.zig. 18 fn aliases keep all call sites unchanged. CaptureInfo (closure-domain type that sat inside the run) travelled and is re-exposed via a Lowering type alias; candidate to relocate to lower/closure.zig in B8.3. Method pub-flips: callResolver, createBareFnTrampoline, ensureGenericInstanceMethodLowered, fixupMethodReceiver, getStructTypeName, isStaticTypeArg, lowerPackFnCall, packSpreadRefs, packVariadicCallArgs, refCapturePointee, resolveParamTypeInSource, typeSizeBytes, headNameOfCallee. Gate: zig build OK; zig build test 426/426; run_examples 541/0; zero expected/ snapshot churn.
This commit is contained in:
2183
src/ir/lower.zig
2183
src/ir/lower.zig
File diff suppressed because it is too large
Load Diff
2189
src/ir/lower/call.zig
Normal file
2189
src/ir/lower/call.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user