about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorDavid Rheinsberg <david@readahead.eu>2023-07-21 10:31:01 +0200
committerDavid Rheinsberg <david@readahead.eu>2023-07-21 10:31:01 +0200
commit3e0389561b8e6145d42c9043e94ae61bc960fa2e (patch)
treeabc850bea308a7ced3b091631c63228b0879468e /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent1a44b45987a56dc1bbb4fc8327aa46efa58d5eaa (diff)
downloadrust-3e0389561b8e6145d42c9043e94ae61bc960fa2e.tar.gz
rust-3e0389561b8e6145d42c9043e94ae61bc960fa2e.zip
rustc_target: drop duplicate code
Drop duplicate helper methods on `Layout`, which are already implemented
on `LayoutS`. Note that `Layout` has a `Deref` implementation to
`LayoutS`, so all accessors are automatically redirected.

The methods are identical and have been copied to `rustc_abi` in:

    commit 390a637e296ccfaac4c6abd1291b0523e8a8e00b
    Author: hamidreza kalbasi <hamidrezakalbasi@protonmail.com>
    Date:   Mon Nov 7 00:36:11 2022 +0330

        move things from rustc_target::abi to rustc_abi

This commit left behind the original implementation. Drop it now.

Signed-off-by: David Rheinsberg <david@readahead.eu>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions