@@ -1664,12 +1664,12 @@ pub fn new_fn_ctxt(ccx: @CrateContext,
1664
1664
// the function's fn_ctxt). create_llargs_for_fn_args populates the llargs
1665
1665
// field of the fn_ctxt with
1666
1666
pub fn create_llargs_for_fn_args ( cx : fn_ctxt ,
1667
- ty_self : self_arg ,
1667
+ self_arg : self_arg ,
1668
1668
args : & [ ast:: arg ] )
1669
1669
-> ~[ ValueRef ] {
1670
1670
let _icx = cx. insn_ctxt ( "create_llargs_for_fn_args" ) ;
1671
1671
1672
- match ty_self {
1672
+ match self_arg {
1673
1673
impl_self( tt) => {
1674
1674
cx. llself = Some ( ValSelfData {
1675
1675
v : cx. llenv ,
@@ -1801,7 +1801,7 @@ pub fn trans_closure(ccx: @CrateContext,
1801
1801
decl : & ast:: fn_decl ,
1802
1802
body : & ast:: blk ,
1803
1803
llfndecl : ValueRef ,
1804
- ty_self : self_arg ,
1804
+ self_arg : self_arg ,
1805
1805
param_substs : Option < @param_substs > ,
1806
1806
id : ast:: node_id ,
1807
1807
impl_id : Option < ast:: def_id > ,
@@ -1825,7 +1825,7 @@ pub fn trans_closure(ccx: @CrateContext,
1825
1825
impl_id,
1826
1826
param_substs,
1827
1827
Some ( body. span ) ) ;
1828
- let raw_llargs = create_llargs_for_fn_args ( fcx, ty_self , decl. inputs ) ;
1828
+ let raw_llargs = create_llargs_for_fn_args ( fcx, self_arg , decl. inputs ) ;
1829
1829
1830
1830
// Set the fixed stack segment flag if necessary.
1831
1831
if attr:: attrs_contains_name ( attributes, "fixed_stack_segment" ) {
@@ -1882,16 +1882,16 @@ pub fn trans_fn(ccx: @CrateContext,
1882
1882
decl : & ast:: fn_decl ,
1883
1883
body : & ast:: blk ,
1884
1884
llfndecl : ValueRef ,
1885
- ty_self : self_arg ,
1885
+ self_arg : self_arg ,
1886
1886
param_substs : Option < @param_substs > ,
1887
1887
id : ast:: node_id ,
1888
1888
impl_id : Option < ast:: def_id > ,
1889
1889
attrs : & [ ast:: attribute ] ) {
1890
1890
let do_time = ccx. sess . trans_stats ( ) ;
1891
1891
let start = if do_time { time:: get_time ( ) }
1892
1892
else { time:: Timespec :: new ( 0 , 0 ) } ;
1893
- debug ! ( "trans_fn(ty_self =%?, param_substs=%s)" ,
1894
- ty_self ,
1893
+ debug ! ( "trans_fn(self_arg =%?, param_substs=%s)" ,
1894
+ self_arg ,
1895
1895
param_substs. repr( ccx. tcx) ) ;
1896
1896
let _icx = ccx. insn_ctxt ( "trans_fn" ) ;
1897
1897
ccx. stats . n_fns += 1 ;
@@ -1902,7 +1902,7 @@ pub fn trans_fn(ccx: @CrateContext,
1902
1902
decl,
1903
1903
body,
1904
1904
llfndecl,
1905
- ty_self ,
1905
+ self_arg ,
1906
1906
param_substs,
1907
1907
id,
1908
1908
impl_id,
0 commit comments