Merge remote-tracking branch 'origin/master' into master-rebranch

This commit is contained in:
swift-ci
2020-07-31 16:07:19 -07:00
57 changed files with 221 additions and 184 deletions

View File

@@ -108,7 +108,7 @@ bool StringOptimization::run(SILFunction *F) {
if (!stringDecl)
return false;
stringType = SILType::getPrimitiveObjectType(
CanType(stringDecl->getDeclaredType()));
stringDecl->getDeclaredInterfaceType()->getCanonicalType());
bool changed = false;