File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -1781,20 +1781,8 @@ fn get_static_tydesc(&@block_ctxt cx,
1781
1781
fn declare_tydesc( & @local_ctxt cx, & ast:: span sp, & ty:: t t,
1782
1782
vec[ uint] ty_params) -> @tydesc_info {
1783
1783
log "+++ declare_tydesc " + ty:: ty_to_str( cx. ccx. tcx, t) ;
1784
- auto take_glue = declare_generic_glue( cx, t, T_glue_fn ( cx. ccx. tn) ,
1785
- "take" ) ;
1786
- auto drop_glue = declare_generic_glue( cx, t, T_glue_fn ( cx. ccx. tn) ,
1787
- "drop" ) ;
1788
- auto free_glue = declare_generic_glue( cx, t, T_glue_fn ( cx. ccx. tn) ,
1789
- "free" ) ;
1790
- auto cmp_glue = declare_generic_glue( cx, t, T_cmp_glue_fn ( cx. ccx. tn) ,
1791
- "cmp" ) ;
1792
1784
auto ccx = cx. ccx;
1793
1785
1794
- // Don't inline free glue; it's cold.
1795
- llvm:: LLVMAddFunctionAttr ( free_glue, lib:: llvm:: LLVMNoInlineAttribute as
1796
- lib:: llvm:: llvm:: Attribute ) ;
1797
-
1798
1786
auto llsize;
1799
1787
auto llalign;
1800
1788
if ( !ty:: type_has_dynamic_size( ccx. tcx, t) ) {
You can’t perform that action at this time.
0 commit comments