mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #5515
5515: Add profiling call r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
bc0a378070
1 changed files with 1 additions and 0 deletions
|
@ -315,6 +315,7 @@ impl<'db> SemanticsImpl<'db> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn descend_into_macros(&self, token: SyntaxToken) -> SyntaxToken {
|
fn descend_into_macros(&self, token: SyntaxToken) -> SyntaxToken {
|
||||||
|
let _p = profile("descend_into_macros");
|
||||||
let parent = token.parent();
|
let parent = token.parent();
|
||||||
let parent = self.find_file(parent);
|
let parent = self.find_file(parent);
|
||||||
let sa = self.analyze2(parent.as_ref(), None);
|
let sa = self.analyze2(parent.as_ref(), None);
|
||||||
|
|
Loading…
Reference in a new issue