Skip to content

Commit bc0a378

Browse files
bors[bot]matklad
andauthored
Merge #5515
5515: Add profiling call r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
2 parents 6ddcdb8 + c0d8921 commit bc0a378

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ra_hir/src/semantics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ impl<'db> SemanticsImpl<'db> {
315315
}
316316

317317
fn descend_into_macros(&self, token: SyntaxToken) -> SyntaxToken {
318+
let _p = profile("descend_into_macros");
318319
let parent = token.parent();
319320
let parent = self.find_file(parent);
320321
let sa = self.analyze2(parent.as_ref(), None);

0 commit comments

Comments
 (0)