Convert remaning ivec decls to new syntax

These snuck in during rebasing
This commit is contained in:
Brian Anderson 2011-08-09 11:20:12 -07:00
parent 00ccd6ba42
commit 61425c8d13
2 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@ fn declare_upcalls(tn: type_names, tydesc_type: TypeRef,
ret trans::decl_cdecl_fn(llmod, "upcall_" + name, fn_ty);
}
fn decl_with_taskptr(taskptr_type: TypeRef, tn: type_names,
llmod: ModuleRef, name: str, tys: TypeRef[],
llmod: ModuleRef, name: str, tys: [TypeRef],
rv: TypeRef) -> ValueRef {
ret decl(tn, llmod, name, ~[taskptr_type] + tys, rv);
}

View file

@ -317,8 +317,8 @@ fn handle_var(fcx: &fn_ctxt, rslt: &pre_and_post, id: node_id, name: ident) {
}
fn forget_args_moved_in(fcx: &fn_ctxt, parent: &@expr,
modes: &ty::mode[],
operands: &(@expr)[]) {
modes: &[ty::mode],
operands: &[@expr]) {
let i = 0;
for mode: ty::mode in modes {
if mode == ty::mo_move {