mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[AST] Stop using side-table for local discriminators
This commit is contained in:
@@ -2024,7 +2024,8 @@ ModuleFile::getLocalTypeDecls(SmallVectorImpl<TypeDecl *> &results) {
|
||||
for (auto entry : LocalTypeDecls->data()) {
|
||||
auto DeclID = entry.first;
|
||||
auto TD = cast<TypeDecl>(getDecl(DeclID));
|
||||
TD->setLocalDiscriminator(entry.second);
|
||||
assert(entry.second == TD->getLocalDiscriminator());
|
||||
// TD->setLocalDiscriminator(entry.second);
|
||||
results.push_back(TD);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user