Files
swift-mirror/lib/SILOptimizer/Transforms/AllocBoxToStack.cpp
Nate Chandler ceea4cf57a [AllocBoxToStack] See through borrows.
Now that alloc_boxes whose lifetimes are lexical are emitted with
begin_borrow [lexical]/end_borrow, AllocBoxToStack needs to be able to
see through those new borrow scopes in order to continue stack promoting
the same boxes that it was able to before those lexical scopes were
emitted.
2022-01-13 13:33:21 -08:00

42 KiB