diff options
author | Aleksey Kladov <[email protected]> | 2020-07-24 12:13:36 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-24 12:13:36 +0100 |
commit | c0d8921148d068d088589d545916801c60b6341e (patch) | |
tree | 3bd2cd05714cdf251efeca0483e63438c40358d8 /crates/ra_hir/src | |
parent | bd44f3a6203b0dcd2e87cc391d652925501b7e57 (diff) |
Add profiling call
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r-- | crates/ra_hir/src/semantics.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_hir/src/semantics.rs b/crates/ra_hir/src/semantics.rs index f5283ab22..1dbc095ff 100644 --- a/crates/ra_hir/src/semantics.rs +++ b/crates/ra_hir/src/semantics.rs | |||
@@ -315,6 +315,7 @@ impl<'db> SemanticsImpl<'db> { | |||
315 | } | 315 | } |
316 | 316 | ||
317 | fn descend_into_macros(&self, token: SyntaxToken) -> SyntaxToken { | 317 | fn descend_into_macros(&self, token: SyntaxToken) -> SyntaxToken { |
318 | let _p = profile("descend_into_macros"); | ||
318 | let parent = token.parent(); | 319 | let parent = token.parent(); |
319 | let parent = self.find_file(parent); | 320 | let parent = self.find_file(parent); |
320 | let sa = self.analyze2(parent.as_ref(), None); | 321 | let sa = self.analyze2(parent.as_ref(), None); |