about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-11-06 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-11-06 00:00:00 +0000
commitf7e11cba36abb4da04497c7db9c536df78c3cc51 (patch)
tree55f6fa26b76d3c76fe920373e10a0a0d0d39c792 /compiler/rustc_llvm/llvm-wrapper
parent6e96e10f9363dc792acb02ff616aaca36764805d (diff)
downloadrust-f7e11cba36abb4da04497c7db9c536df78c3cc51.tar.gz
rust-f7e11cba36abb4da04497c7db9c536df78c3cc51.zip
inliner: Use substs_for_mir_body
Changes from 68965 extended the kind of instances that are being
inlined. For some of those, the `instance_mir` returns a MIR body that
is already expressed in terms of the types found in substitution array,
and doesn't need further substitution.

Use `substs_for_mir_body` to take that into account.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions