Skip to content

Commit ea5cdd0

Browse files
committed
AST: Remove a couple of expensive FrontendStatsTracers
1 parent 80ccbe5 commit ea5cdd0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/AST/Module.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -458,10 +458,7 @@ void ModuleDecl::lookupValue(AccessPathTy AccessPath, DeclName Name,
458458
if (stats)
459459
stats->getFrontendCounters().NumModuleLookupValue++;
460460

461-
FrontendStatsTracer tracer(stats, "module-lookup-value");
462-
463461
if (isParsedModule(this)) {
464-
FrontendStatsTracer tracer(getASTContext().Stats, "source-file-lookup-value");
465462
getSourceLookupCache().lookupValue(AccessPath, Name, LookupKind, Result);
466463
return;
467464
}

0 commit comments

Comments
 (0)