mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Rename getEmptyLocation to getCompilerGeneratedLocation
This commit is contained in:
@@ -2177,7 +2177,7 @@ SILValue LifetimeChecker::handleConditionalInitAssign() {
|
||||
// Use an empty location for the alloc_stack. If Loc is variable declaration
|
||||
// the alloc_stack would look like the storage of that variable.
|
||||
auto *ControlVariableBox =
|
||||
B.createAllocStack(getEmptyLocation(), IVType);
|
||||
B.createAllocStack(getCompilerGeneratedLocation(), IVType);
|
||||
|
||||
// Find all the return blocks in the function, inserting a dealloc_stack
|
||||
// before the return.
|
||||
|
||||
Reference in New Issue
Block a user