about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-03-16 04:35:02 +0000
committerbors <bors@rust-lang.org>2024-03-16 04:35:02 +0000
commitc563f2ee799b285067124b516ce99f26063f8351 (patch)
tree91895e6faf0242cc634ab7041171ae4b603052fc /compiler/rustc_codegen_llvm/src/builder.rs
parentc03ea3dfd907e7dc6305ebf20c94f3a1f1d9fed7 (diff)
parent746e4eff263527ba8960552ea62db11ab9821644 (diff)
downloadrust-c563f2ee799b285067124b516ce99f26063f8351.tar.gz
rust-c563f2ee799b285067124b516ce99f26063f8351.zip
Auto merge of #122371 - oli-obk:visit_nested_body, r=tmiasko
Stop walking the bodies of statics for reachability, and evaluate them instead

cc `@saethlin` `@RalfJung`

cc #119214

This reuses the `DefIdVisitor` from `rustc_privacy`, because they basically try to do the same thing.

This PR's changes can probably be extended to constants, too, but let's tackle that separately, it's likely more involved.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions