mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce a new SIL-level "undef" value, useful for SIL transformations.
IRGen support is missing, Joe volenteers to implement it. Swift SVN r9776
This commit is contained in:
@@ -1037,3 +1037,10 @@ sil_vtable Foo {
|
||||
#Foo.subscript!getter.2: _TC3tmp3Foo9subscriptFT1xSi1ySi_Sig
|
||||
#Foo.subscript!setter.2: _TC3tmp3Foo9subscriptFT1xSi1ySi_Sis
|
||||
}
|
||||
|
||||
sil @undef_value : $() -> () {
|
||||
bb0:
|
||||
store undef to undef : $*Builtin.Int1
|
||||
unreachable
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user