mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove NumLookupInModule counter
We now have an equivalent counter for LookupInModuleRequest.
This commit is contained in:
@@ -236,11 +236,7 @@ llvm::Expected<QualifiedLookupResult> LookupInModuleRequest::evaluate(
|
||||
assert(moduleScopeContext->isModuleScopeContext());
|
||||
|
||||
auto &ctx = moduleOrFile->getASTContext();
|
||||
auto *stats = ctx.Stats;
|
||||
if (stats)
|
||||
stats->getFrontendCounters().NumLookupInModule++;
|
||||
|
||||
FrontendStatsTracer tracer(stats, "lookup-in-module");
|
||||
FrontendStatsTracer tracer(ctx.Stats, "lookup-in-module");
|
||||
|
||||
QualifiedLookupResult decls;
|
||||
LookupByName lookup(ctx, resolutionKind, name, lookupKind);
|
||||
|
||||
Reference in New Issue
Block a user