diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-24 12:14:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-24 12:14:07 +0100 |
commit | bc0a378070676d7b3a028f770ec6e74c5bf7ca96 (patch) | |
tree | 2cd8e23578abc7df0b6d30c8e822e5292032254f /crates/ra_hir | |
parent | 6ddcdb8b29f495f09b9e2456001be252d401e394 (diff) | |
parent | c0d8921148d068d088589d545916801c60b6341e (diff) |
Merge #5515
5515: Add profiling call r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_hir')
-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); |