$ the-wire · showcase
Impeller drops per-draw allocations, Swift fixes debug-info crashes
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Performance and correctness work dominates the mobile platforms desks today: Impeller stops heap-allocating on every draw, Swift removes two debug-info passes that could crash the verifier, and Kotlin finishes a sweep of duplicated Analysis API type pointers.
[Impeller] Avoid heap-allocating std::function captures per draw (#192679) flutter/flutter
UberSDF and circle contents were building per-draw callbacks whose by-value captures exceeded the std::function small-buffer optimization, so every draw heap-allocated. Since DrawGeometry invokes the callbacks before returning, switching to capture-by-reference removes those allocations on the hot path.
[DebugInfo] Remove debug_value hoisting in begin_borrow simplification apple/swift
Hoisting a debug_value with multiple operands could move the instruction above another operand and trip the "instruction isn't dominated by its operand" verifier error. Debug uses after a consume are legal and already cleaned up by the kill-invalid-debug-values pass, so the hoisting was dead weight in begin_borrow simplification.
[DebugInfo] Fix apply simplification mishandling debug_values apple/swift
Apply simplification deleted debug uses once per use, so multiple-operand debug values hit a double delete; it could also extend a value's liverange with debug instructions outside it. Also landed as a merge of the same begin_borrow fix, which now removes only the unneeded hoisting.
Fix square corner issue (#191096) flutter/flutter
Routes combining rounded clips (such as CupertinoSheetRoute), intermediate child ink features, and a backdrop filter like a blurred app bar hit the clip stack replay logic incorrectly, producing square corners. The fix pulls apart that replay path.
IRGen: lower COM method calls apple/swift
IRGen now lowers COM interface methods, covering calling conventions, argument mapping, and vtable slot lookup, with new cross-platform tests. It is the codegen foundation COM interop needs rather than a user-facing feature.