Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines

This commit is contained in:
Doug Gregor
2015-12-18 10:15:47 -08:00
171 changed files with 1361 additions and 594 deletions

View File

@@ -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()) {