about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/builder.rs
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-08-08 17:24:30 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2021-09-13 14:42:06 +0200
commit8c7840e8cb700870854efa02cca817c7dd610698 (patch)
tree2cdf751a832fb5ae2999e0d63a0ed0bae507de92 /compiler/rustc_codegen_llvm/src/builder.rs
parentc7dbe7a830100c70d59994fd940bf75bb6e39b39 (diff)
downloadrust-8c7840e8cb700870854efa02cca817c7dd610698.tar.gz
rust-8c7840e8cb700870854efa02cca817c7dd610698.zip
Use a separate interner type for UniqueTypeId
Using symbol::Interner makes it very easy to mixup UniqueTypeId symbols
with the global interner. In fact the Debug implementation of
UniqueTypeId did exactly this.

Using a separate interner type also avoids prefilling the interner with
unused symbols and allow for optimizing the symbol interner for parallel
access without negatively affecting the single threaded module codegen.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/builder.rs')
0 files changed, 0 insertions, 0 deletions