Long lines

This commit is contained in:
Brian Anderson 2012-10-22 12:02:55 -07:00
parent 2eea07be11
commit 64e1ecb939

View File

@ -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)
}