about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-24 19:29:56 +0200
committerGitHub <noreply@github.com>2023-10-24 19:29:56 +0200
commitf131a0a7713e35307d37a9ba6decd1d903a89235 (patch)
tree975a3e702917cd15bcb3d39b53c66904bd16dac6 /compiler/rustc_codegen_llvm/src
parent84f0befac518ca14a64682123caf7054890458d5 (diff)
parentae86f59cc9dd7d4be3c47d9ecbc3b98ca1f514a8 (diff)
downloadrust-f131a0a7713e35307d37a9ba6decd1d903a89235.tar.gz
rust-f131a0a7713e35307d37a9ba6decd1d903a89235.zip
Rollup merge of #117010 - celinval:smir-internal, r=oli-obk
Add method to convert internal to stable constructs

This is an alternative implementation to https://github.com/rust-lang/rust/pull/116999. I believe we can still improve the logic a bit here, but I wanted to see which direction we should go first.

In this implementation, the API is simpler and we keep Tables somewhat private. The definition is still public though, since we have to expose the Stable trait. However, there's a cost of keeping another thread-local and using `Rc`, but I'm hoping it will be a small cost.

r? ``@oli-obk``
r? ``@spastorino``
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions