Remove static_addr_of_mut from cg_ssa

This commit is contained in:
bjorn3 2018-11-24 17:30:48 +01:00
parent aaca5a38ee
commit e8da3c6c32
2 changed files with 3 additions and 4 deletions

View file

@ -13,7 +13,6 @@ use rustc::hir::def_id::DefId;
use rustc::ty::layout::Align;
pub trait StaticMethods: BackendTypes {
fn static_addr_of_mut(&self, cv: Self::Value, align: Align, kind: Option<&str>) -> Self::Value;
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);