Skip to content

Commit c0d8921

Browse files
committed
Add profiling call
1 parent bd44f3a commit c0d8921

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)