diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-06 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-11-06 00:00:00 +0000 |
| commit | f7e11cba36abb4da04497c7db9c536df78c3cc51 (patch) | |
| tree | 55f6fa26b76d3c76fe920373e10a0a0d0d39c792 /compiler/rustc_llvm/llvm-wrapper | |
| parent | 6e96e10f9363dc792acb02ff616aaca36764805d (diff) | |
| download | rust-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
