mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
In 025902fa99,
`SILFunction::getSourceFile()`
is introduced. This patch makes use of that to avoid duplicating the
logic in `static SourceFile &getSourceFile(SILFunction *f)` in
lib/SILOptimizer/Differentiation/ADContext.cpp.
5.7 KiB
5.7 KiB