@@ -1545,17 +1545,15 @@ pub fn new_fn_ctxt_w_id(ccx: @mut CrateContext,
15451545 llfndecl: ValueRef ,
15461546 id: ast:: node_id,
15471547 output_type: ty:: t,
1548- impl_id: Option <ast:: def_id>,
15491548 param_substs: Option <@param_substs>,
15501549 sp: Option <span>)
15511550 -> fn_ctxt {
15521551 for param_substs. iter( ) . advance |p| { p. validate( ) ; }
15531552
1554- debug!( "new_fn_ctxt_w_id(path=%s, id=%?, impl_id=%?, \
1553+ debug!( "new_fn_ctxt_w_id(path=%s, id=%?, \
15551554 param_substs=%s)",
15561555 path_str( ccx. sess, path) ,
15571556 id,
1558- impl_id,
15591557 param_substs. repr( ccx. tcx) ) ;
15601558
15611559 let llbbs = mk_standard_basic_blocks( llfndecl) ;
@@ -1584,7 +1582,6 @@ pub fn new_fn_ctxt_w_id(ccx: @mut CrateContext,
15841582 lllocals: @mut HashMap :: new( ) ,
15851583 llupvars: @mut HashMap :: new( ) ,
15861584 id: id,
1587- impl_id: impl_id,
15881585 param_substs: param_substs,
15891586 span: sp,
15901587 path: path,
@@ -1605,7 +1602,7 @@ pub fn new_fn_ctxt(ccx: @mut CrateContext,
16051602 output_type: ty:: t,
16061603 sp: Option <span>)
16071604 -> fn_ctxt {
1608- new_fn_ctxt_w_id( ccx, path, llfndecl, -1 , output_type, None , None , sp)
1605+ new_fn_ctxt_w_id( ccx, path, llfndecl, -1 , output_type, None , sp)
16091606}
16101607
16111608// NB: must keep 4 fns in sync:
@@ -1774,7 +1771,6 @@ pub fn trans_closure(ccx: @mut CrateContext,
17741771 self_arg: self_arg,
17751772 param_substs: Option <@param_substs>,
17761773 id: ast:: node_id,
1777- impl_id: Option <ast:: def_id>,
17781774 attributes: & [ ast:: attribute] ,
17791775 output_type: ty:: t,
17801776 maybe_load_env: & fn ( fn_ctxt) ,
@@ -1792,7 +1788,6 @@ pub fn trans_closure(ccx: @mut CrateContext,
17921788 llfndecl,
17931789 id,
17941790 output_type,
1795- impl_id,
17961791 param_substs,
17971792 Some ( body. span) ) ;
17981793 let raw_llargs = create_llargs_for_fn_args( fcx, self_arg, decl. inputs) ;
@@ -1851,7 +1846,6 @@ pub fn trans_fn(ccx: @mut CrateContext,
18511846 self_arg: self_arg,
18521847 param_substs: Option <@param_substs>,
18531848 id: ast:: node_id,
1854- impl_id: Option <ast:: def_id>,
18551849 attrs: & [ ast:: attribute] ) {
18561850 let do_time = ccx. sess. trans_stats( ) ;
18571851 let start = if do_time { time:: get_time( ) }
@@ -1871,7 +1865,6 @@ pub fn trans_fn(ccx: @mut CrateContext,
18711865 self_arg,
18721866 param_substs,
18731867 id,
1874- impl_id,
18751868 attrs,
18761869 output_type,
18771870 |fcx| {
@@ -1921,7 +1914,6 @@ pub fn trans_enum_variant(ccx: @mut CrateContext,
19211914 llfndecl,
19221915 variant. node. id,
19231916 enum_ty,
1924- None ,
19251917 param_substs,
19261918 None ) ;
19271919
@@ -2001,7 +1993,6 @@ pub fn trans_tuple_struct(ccx: @mut CrateContext,
20011993 llfndecl,
20021994 ctor_id,
20031995 tup_ty,
2004- None,
20051996 param_substs,
20061997 None);
20071998
@@ -2081,7 +2072,6 @@ pub fn trans_item(ccx: @mut CrateContext, item: &ast::item) {
20812072 no_self,
20822073 None,
20832074 item.id,
2084- None,
20852075 item.attrs);
20862076 } else {
20872077 for body.node.stmts.iter().advance |stmt| {
0 commit comments