Long lines
This commit is contained in:
parent
2eea07be11
commit
64e1ecb939
@ -267,7 +267,8 @@ fn malloc_raw_dyn(bcx: block, t: ty::t, heap: heap,
|
||||
fn non_gc_box_cast(bcx: block, val: ValueRef) -> ValueRef {
|
||||
debug!("non_gc_box_cast");
|
||||
add_comment(bcx, ~"non_gc_box_cast");
|
||||
assert(llvm::LLVMGetPointerAddressSpace(val_ty(val)) == gc_box_addrspace || bcx.unreachable);
|
||||
assert(llvm::LLVMGetPointerAddressSpace(val_ty(val)) == gc_box_addrspace
|
||||
|| bcx.unreachable);
|
||||
let non_gc_t = T_ptr(llvm::LLVMGetElementType(val_ty(val)));
|
||||
PointerCast(bcx, val, non_gc_t)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user