diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-24 14:18:13 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2018-11-29 18:19:41 +0100 |
| commit | 2d46ee26fbfc594fe819c49bcfa0ac434cb442d0 (patch) | |
| tree | c97773d452a50c4657d4c073b61857f72a362051 /src/librustc_codegen_ssa | |
| parent | 436eff5e84e1f74fa22611434ffc72f824f34013 (diff) | |
| download | rust-2d46ee26fbfc594fe819c49bcfa0ac434cb442d0.tar.gz rust-2d46ee26fbfc594fe819c49bcfa0ac434cb442d0.zip | |
Remove static_replace_all_uses and statics_to_rauw from cg_ssa
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/traits/misc.rs | 1 | ||||
| -rw-r--r-- | src/librustc_codegen_ssa/traits/statics.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/librustc_codegen_ssa/traits/misc.rs b/src/librustc_codegen_ssa/traits/misc.rs index 0425b8e8e23..ab4f2f724cd 100644 --- a/src/librustc_codegen_ssa/traits/misc.rs +++ b/src/librustc_codegen_ssa/traits/misc.rs @@ -32,7 +32,6 @@ pub trait MiscMethods<'tcx>: Backend<'tcx> { fn stats(&self) -> &RefCell<Stats>; fn consume_stats(self) -> RefCell<Stats>; fn codegen_unit(&self) -> &Arc<CodegenUnit<'tcx>>; - fn statics_to_rauw(&self) -> &RefCell<Vec<(Self::Value, Self::Value)>>; fn closure_env_needs_indirect_debuginfo(&self) -> bool; fn used_statics(&self) -> &RefCell<Vec<Self::Value>>; fn set_frame_pointer_elimination(&self, llfn: Self::Value); diff --git a/src/librustc_codegen_ssa/traits/statics.rs b/src/librustc_codegen_ssa/traits/statics.rs index 5026d34dcad..aa4d69f078f 100644 --- a/src/librustc_codegen_ssa/traits/statics.rs +++ b/src/librustc_codegen_ssa/traits/statics.rs @@ -19,5 +19,4 @@ pub trait StaticMethods: BackendTypes { fn static_addr_of(&self, cv: Self::Value, align: Align, kind: Option<&str>) -> Self::Value; fn get_static(&self, def_id: DefId) -> Self::Value; fn codegen_static(&self, def_id: DefId, is_mutable: bool); - unsafe fn static_replace_all_uses(&self, old_g: Self::Value, new_g: Self::Value); } |
