about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/attributes.rs
diff options
context:
space:
mode:
authorDavid Wood <david@davidtw.co>2020-08-09 20:08:45 +0100
committerDavid Wood <david@davidtw.co>2020-09-04 13:00:49 +0100
commitf8376b59d1391a5191a561c44067355f1a99c7c0 (patch)
tree2e6e0b5256a11a2faa396ea48e6263ce8a3e69df /compiler/rustc_codegen_llvm/src/attributes.rs
parent4ffb5c5954a304daf47a567b34e74e421db86d98 (diff)
downloadrust-f8376b59d1391a5191a561c44067355f1a99c7c0.tar.gz
rust-f8376b59d1391a5191a561c44067355f1a99c7c0.zip
shim: monomorphic `FnPtrShim`s during construction
This commit adjusts MIR shim construction so that substitutions are
applied to function pointer shims during construction, rather than
during codegen (as determined by `substs_for_mir_body`) - as
substitutions will no longer occur during codegen, function pointer
shims can now be polymorphic without incurring double substitutions.

Signed-off-by: David Wood <david@davidtw.co>
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/attributes.rs')
0 files changed, 0 insertions, 0 deletions