mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
The only difference between visitLocalScopeEndingUses and getLocalScopeEndingInstructions is that the former evaluates a lambda with each `Operand *` and the latter adds `->getUser()` to a SmallVectorImpl for each. So factor the latter through the former and add the users to the SmallVectorImpl in the lambda.
81 KiB
81 KiB