mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
libswift: implement ReleaseDevirtualizer in Swift
This commit is contained in:
@@ -58,3 +58,7 @@ final class Undef : Value {
|
||||
final class PlaceholderValue : Value {
|
||||
public var definingInstruction: Instruction? { nil }
|
||||
}
|
||||
|
||||
extension OptionalBridgedValue {
|
||||
var value: Value? { obj.getAs(AnyObject.self) as? Value }
|
||||
}
|
||||
Reference in New Issue
Block a user