about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-26 00:17:59 +0000
committerbors <bors@rust-lang.org>2022-09-26 00:17:59 +0000
commit3288d3a305ad15cfcdcd9ef72404be6d2a2887b5 (patch)
tree4d3cfca921d1a813178dafded888a8c20c3e67bc /compiler/rustc_hir_analysis/src
parentff40f2ec95923c4d45366e85bcff17d75df68d68 (diff)
parent7a8369096c27312b1beda84c8f5c2ab207d8a3c7 (diff)
downloadrust-3288d3a305ad15cfcdcd9ef72404be6d2a2887b5.tar.gz
rust-3288d3a305ad15cfcdcd9ef72404be6d2a2887b5.zip
Auto merge of #101785 - jyn514:query-struct-fn-ptrs, r=cjgillot
Use function pointers instead of macro-unrolled loops in rustc_query_impl

By making these standalone functions, we
a) allow making them extensible in the future with a new `QueryStruct`
b) greatly decrease the amount of code in each individual function, avoiding exponential blowup in llvm

Helps with https://github.com/rust-lang/rust/issues/96524. Based on https://github.com/rust-lang/rust/pull/101173; only the last commit is relevant.

r? `@cjgillot`
Diffstat (limited to 'compiler/rustc_hir_analysis/src')
0 files changed, 0 insertions, 0 deletions