rename PointerAddress → PointerExposeAddress
This commit is contained in:
parent
395a09c3da
commit
4dc5d457d8
12 changed files with 23 additions and 18 deletions
|
@ -181,7 +181,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
|
|||
let cast = bx.cx().layout_of(self.monomorphize(mir_cast_ty));
|
||||
|
||||
let val = match *kind {
|
||||
mir::CastKind::PointerAddress => {
|
||||
mir::CastKind::PointerExposeAddress => {
|
||||
assert!(bx.cx().is_backend_immediate(cast));
|
||||
let llptr = operand.immediate();
|
||||
let llcast_ty = bx.cx().immediate_backend_type(cast);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue