about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-01-06 12:23:01 +0800
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2022-01-06 14:57:17 +0800
commit4e8855bdc9b419e0ab48d886c10128f93a9bf98d (patch)
tree8f43b2cd511765e905a9cac6b5949512e18cf940 /compiler/rustc_codegen_llvm/src
parent4c6120c3864483a44f6e29fe5de22e5074ec25f5 (diff)
downloadrust-4e8855bdc9b419e0ab48d886c10128f93a9bf98d.tar.gz
rust-4e8855bdc9b419e0ab48d886c10128f93a9bf98d.zip
rustc_metadata: Make `opt_item_ident` in decoder faster and stricter
By avoiding formatting and allocations in the no-ident case, and by making the span mandatory if the ident exists.

Use the optimized `opt_item_ident` to cleanup `fn each_child_of_item`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions