File tree Expand file tree Collapse file tree 2 files changed +266
-257
lines changed
src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +266
-257
lines changed Original file line number Diff line number Diff line change @@ -1142,7 +1142,7 @@ pub fn trans_stmt(cx: block, s: &ast::stmt) -> block {
1142
1142
bcx = init_local( bcx, * local) ;
1143
1143
if cx. sess( ) . opts. extra_debuginfo
1144
1144
&& fcx_has_nonzero_span( bcx. fcx) {
1145
- debuginfo:: create_local_var ( bcx, * local) ;
1145
+ debuginfo:: create_local_var_metadata ( bcx, * local) ;
1146
1146
}
1147
1147
}
1148
1148
ast:: decl_item( i) => trans_item( cx. fcx. ccx, i)
@@ -1774,7 +1774,7 @@ pub fn copy_args_to_allocas(fcx: fn_ctxt,
1774
1774
bcx = _match:: store_arg( bcx, args[ arg_n] . pat, llarg) ;
1775
1775
1776
1776
if fcx. ccx. sess. opts. extra_debuginfo && fcx_has_nonzero_span( fcx) {
1777
- debuginfo:: create_arg ( bcx, & args[ arg_n] , args[ arg_n] . ty. span) ;
1777
+ debuginfo:: create_argument_metadata ( bcx, & args[ arg_n] , args[ arg_n] . ty. span) ;
1778
1778
}
1779
1779
}
1780
1780
@@ -1948,7 +1948,7 @@ pub fn trans_fn(ccx: @mut CrateContext,
1948
1948
|fcx| {
1949
1949
if ccx. sess. opts. extra_debuginfo
1950
1950
&& fcx_has_nonzero_span( fcx) {
1951
- debuginfo:: create_function ( fcx) ;
1951
+ debuginfo:: create_function_metadata ( fcx) ;
1952
1952
}
1953
1953
} ,
1954
1954
|_bcx| { } ) ;
You can’t perform that action at this time.
0 commit comments