swift
29faebf2 - [SILGen] Gave arguments lexical lifetimes.

Commit
4 years ago
[SILGen] Gave arguments lexical lifetimes. When the frontend flag -enable-experimental-lexical-lifetimes is passed, arguments of non-trivial, non-address types get lexical borrow scopes. The borrow scope begins in the function prolog. Usages of the arguments are actually usages of the borrowed value. The borrow scope is ended when the function's scope ends.
Author
Committer
Parents
Loading