about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-11-09 01:13:42 +0100
committerGitHub <noreply@github.com>2020-11-09 01:13:42 +0100
commit806538fa78c3c8ceb7c6b52b08831ed840a940f4 (patch)
treed44fbf1c7ea33f6d624f442cc83318f176f6a2cf /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent8a097f7b2c8caae3bbcbb80fed451eed066336a4 (diff)
parentf7e11cba36abb4da04497c7db9c536df78c3cc51 (diff)
downloadrust-806538fa78c3c8ceb7c6b52b08831ed840a940f4.tar.gz
rust-806538fa78c3c8ceb7c6b52b08831ed840a940f4.zip
Rollup merge of #78674 - tmiasko:inline-substs-for-mir-body, r=oli-obk
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.

Resolves #78529.
Resolves #78560.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions