Andrew Trick
dc56f8e110
[SILGen] emit local variable scopes for trivial values.
...
Required for SIL analysis of local variable scopes. For example, to track
lifetime dependence on a variable.
Example:
.swift:
func foo(i: Int) {
let v = i
.sil:
%1 = move_value [var_decl] %0 : $Int // starts the variable scope
extend_lifetime %1 : $Int // ends the variable scope
Rewrite getValueForLexicalLifetimeBinding. The previous implementation was
incomprehensible to me. This will potentially change functionality by removing
previous corner cases that look like nonsense to me.
Adds an unfortunate FIXME to allow migration without affecting fake metatype
locals produced by function conversion!
2024-07-26 08:27:31 -07:00
..
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-02-21 11:20:06 -08:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-05-17 17:45:05 -04:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-06 15:45:22 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-18 17:52:00 -07:00
2024-06-05 19:37:30 -07:00
2024-07-06 12:05:46 -04:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-02-23 02:59:39 -05:00
2024-07-06 12:05:47 -04:00
2024-05-28 13:37:21 +09:00
2024-07-11 14:53:03 -07:00
2024-07-23 17:00:10 -07:00
2024-07-06 12:05:47 -04:00
2024-06-27 09:44:04 -07:00
2024-03-11 21:12:43 -07:00
2024-06-21 02:24:03 -07:00
2024-07-10 13:28:26 -04:00
2024-07-06 12:05:46 -04:00
2024-07-06 12:05:46 -04:00
2024-07-26 08:27:31 -07:00
2024-07-06 12:05:46 -04:00
2024-07-06 12:05:47 -04:00
2024-06-05 19:37:30 -07:00
2024-06-18 17:52:00 -07:00
2024-07-10 13:28:26 -04:00
2024-06-05 19:37:30 -07:00
2024-07-09 15:09:30 -07:00
2024-07-23 17:00:10 -07:00
2024-06-18 17:52:00 -07:00
2024-07-10 13:28:26 -04:00
2024-06-05 19:37:30 -07:00
2024-07-10 13:28:26 -04:00
2024-06-05 19:37:30 -07:00
2024-07-06 12:05:46 -04:00
2024-07-06 12:05:47 -04:00
2024-06-27 09:44:04 -07:00
2024-06-05 19:37:30 -07:00
2024-07-06 12:05:46 -04:00
2024-07-06 12:05:46 -04:00
2024-07-06 12:05:46 -04:00
2023-10-11 22:41:30 -07:00
2024-07-26 16:52:18 +09:00
2024-06-05 19:37:30 -07:00
2024-06-05 19:37:30 -07:00
2024-02-21 11:20:06 -08:00
2024-06-05 19:37:30 -07:00