mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix typos.
This commit is contained in:
@@ -1821,10 +1821,10 @@ private:
|
||||
|
||||
bool isClassElementTypeArray(SILValue Arr) {
|
||||
auto Ty = Arr.getType().getSwiftRValueType();
|
||||
auto Cannonical = Ty.getCanonicalTypeOrNull();
|
||||
if (Cannonical.isNull())
|
||||
auto Canonical = Ty.getCanonicalTypeOrNull();
|
||||
if (Canonical.isNull())
|
||||
return false;
|
||||
auto *Struct = Cannonical->getStructOrBoundGenericStruct();
|
||||
auto *Struct = Canonical->getStructOrBoundGenericStruct();
|
||||
assert(Struct && "Array must be a struct !?");
|
||||
if (Struct) {
|
||||
// No point in hoisting generic code.
|
||||
|
||||
Reference in New Issue
Block a user