Commit c5477dd
committed
Auto merge of #50964 - michaelwoerister:query-symbol-names, r=<try>
Make sure that queries have predictable symbol names.
Some recent refactorings led to queriy names not showing up in the corresponding symbol names. [perf-focus](https://github.com/nikomatsakis/perf-focus) and manual profiling have been broken by this. This PR makes sure that query providers always get their own symbol and that that symbol has a predictable name.
Since this adds `#[inline(never)]` to a function that wraps the provider call, let's check if this does not regress performance before merging.
r? @nikomatsakis1 file changed
+15
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
697 | 697 | | |
698 | 698 | | |
699 | 699 | | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
700 | 710 | | |
701 | 711 | | |
702 | 712 | | |
| |||
718 | 728 | | |
719 | 729 | | |
720 | 730 | | |
| 731 | + | |
721 | 732 | | |
722 | | - | |
723 | | - | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
724 | 737 | | |
725 | 738 | | |
726 | 739 | | |
| |||
0 commit comments