Convert remaning ivec decls to new syntax
These snuck in during rebasing
This commit is contained in:
parent
00ccd6ba42
commit
61425c8d13
@ -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);
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user