Remove static_addr_of_mut from cg_ssa
This commit is contained in:
parent
aaca5a38ee
commit
e8da3c6c32
2 changed files with 3 additions and 4 deletions
|
|
@ -177,10 +177,8 @@ impl CodegenCx<'ll, 'tcx> {
|
|||
llvm::LLVMConstBitCast(val, ty)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl StaticMethods for CodegenCx<'ll, 'tcx> {
|
||||
fn static_addr_of_mut(
|
||||
crate fn static_addr_of_mut(
|
||||
&self,
|
||||
cv: &'ll Value,
|
||||
align: Align,
|
||||
|
|
@ -205,7 +203,9 @@ impl StaticMethods for CodegenCx<'ll, 'tcx> {
|
|||
gv
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl StaticMethods for CodegenCx<'ll, 'tcx> {
|
||||
fn static_addr_of(
|
||||
&self,
|
||||
cv: &'ll Value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue