mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[serialization] Allocate an array on the ASTContext instead of the stack.
...oops. Swift SVN r11218
This commit is contained in:
@@ -330,7 +330,7 @@ Optional<ConformancePair> ModuleFile::maybeReadConformance(Type conformingType,
|
||||
return { proto,
|
||||
ctx.getSpecializedConformance(conformingType,
|
||||
genericConformance,
|
||||
substitutions,
|
||||
ctx.AllocateCopy(substitutions),
|
||||
std::move(typeWitnesses)) };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user