Skip to content

Commit d6c6969

Browse files
committed
---
yaml --- r: 2667 b: refs/heads/master c: 381ba1d h: refs/heads/master i: 2665: eba7fd3 2663: 0cab580 v: v3
1 parent 6b3ad0e commit d6c6969

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 7e43a31f0885353d7d028014261913f79e531f83
2+
refs/heads/master: 381ba1d0babaee0def296cdd337dc911322234af

trunk/src/comp/middle/trans.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,20 +1781,8 @@ fn get_static_tydesc(&@block_ctxt cx,
17811781
fn declare_tydesc(&@local_ctxt cx, &ast::span sp, &ty::t t,
17821782
vec[uint] ty_params) -> @tydesc_info {
17831783
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");
17921784
auto ccx = cx.ccx;
17931785

1794-
// Don't inline free glue; it's cold.
1795-
llvm::LLVMAddFunctionAttr(free_glue, lib::llvm::LLVMNoInlineAttribute as
1796-
lib::llvm::llvm::Attribute);
1797-
17981786
auto llsize;
17991787
auto llalign;
18001788
if (!ty::type_has_dynamic_size(ccx.tcx, t)) {

0 commit comments

Comments
 (0)