mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
This commit is contained in:
@@ -591,7 +591,7 @@ namespace {
|
||||
// FIXME: Upcasts between existential metatypes are not handled yet.
|
||||
// We should generate for it:
|
||||
// %openedSrcMetatype = open_existential srcMetatype
|
||||
// init_existental dstMetatype, %openedSrcMetatype
|
||||
// init_existential dstMetatype, %openedSrcMetatype
|
||||
auto &srcTL = getTypeLowering(source.Value.getType());
|
||||
SILValue value;
|
||||
if (source.isAddress()) {
|
||||
|
||||
Reference in New Issue
Block a user