rust/compiler/rustc_mir
David Wood f8376b59d1
shim: monomorphic FnPtrShims 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>
2020-09-04 13:00:49 +01:00
..
src shim: monomorphic FnPtrShims during construction 2020-09-04 13:00:49 +01:00
Cargo.toml mv compiler to compiler/ 2020-08-30 18:45:07 +03:00