fix long lines

This commit is contained in:
Niko Matsakis 2012-09-20 14:08:21 -07:00
parent 1983e3d8d7
commit 77b0845a84
2 changed files with 5 additions and 4 deletions

View File

@ -1721,7 +1721,8 @@ fn trans_class_ctor(ccx: @crate_ctxt, path: path, decl: ast::fn_decl,
let mut bcx_top = top_scope_block(fcx, body.info());
let lltop = bcx_top.llbb;
let arg_tys = ty::ty_fn_args(node_id_type(bcx_top, ctor_id));
bcx_top = copy_args_to_allocas(fcx, bcx_top, decl.inputs, raw_llargs, arg_tys);
bcx_top = copy_args_to_allocas(fcx, bcx_top, decl.inputs,
raw_llargs, arg_tys);
// Create a temporary for `self` that we will return at the end
let selfdatum = datum::scratch_datum(bcx_top, rslt_ty, true);

View File

@ -27,9 +27,9 @@ use syntax::ast_map;
use common::*;
type type_uses = uint; // Bitmask
const use_repr: uint = 1u; /* Dependency on size/alignment/mode and
take/drop glue */
const use_tydesc: uint = 2u; /* Takes the tydesc, or compares */
const use_repr: uint = 1u; /* Dependency on size/alignment/mode and
take/drop glue */
const use_tydesc: uint = 2u; /* Takes the tydesc, or compares */
type ctx = {ccx: @crate_ctxt,
uses: ~[mut type_uses]};