about summary refs log tree commit diff
path: root/src/debuginfo
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2020-06-12 21:15:13 +0200
committerbjorn3 <bjorn3@users.noreply.github.com>2020-06-12 21:15:13 +0200
commit16b5dac4635dd919b8b56bdf1533a10e8423adb6 (patch)
treef8b1966d02cc005cc143dc3cb9b0c92a02434855 /src/debuginfo
parentba7cdf21be525e39cbbee8804703cfe26e0ac7c6 (diff)
downloadrust-16b5dac4635dd919b8b56bdf1533a10e8423adb6.tar.gz
rust-16b5dac4635dd919b8b56bdf1533a10e8423adb6.zip
Remove all non-tcx references from CodegenCx
Diffstat (limited to 'src/debuginfo')
-rw-r--r--src/debuginfo/unwind.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debuginfo/unwind.rs b/src/debuginfo/unwind.rs
index a0f933d7c62..a8e52f99b67 100644
--- a/src/debuginfo/unwind.rs
+++ b/src/debuginfo/unwind.rs
@@ -15,12 +15,12 @@ pub(crate) struct UnwindContext<'tcx> {
 impl<'tcx> UnwindContext<'tcx> {
     pub(crate) fn new(
         tcx: TyCtxt<'tcx>,
-        module: &mut Module<impl Backend>,
+        isa: &dyn TargetIsa,
     ) -> Self {
         let mut frame_table = FrameTable::default();
 
 
-        let cie_id = if let Some(cie) = module.isa().create_systemv_cie() {
+        let cie_id = if let Some(cie) = isa.create_systemv_cie() {
             Some(frame_table.add_cie(cie))
         } else {
             None