Skip to content

Commit ce17fe2

Browse files
committed
Attempt to put out burning tinderbox.
1 parent c863427 commit ce17fe2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/comp/middle/trans.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,13 +1218,17 @@ fn make_drop_glue(@block_ctxt cx, ValueRef v, @ty.t t) -> result {
12181218
cx.build.GEP(v,
12191219
vec(C_int(0),
12201220
C_int(abi.box_rc_field_body)));
1221+
auto bindings =
1222+
cx.build.GEP(body,
1223+
vec(C_int(0),
1224+
C_int(abi.closure_elt_bindings)));
12211225

12221226
auto tydescptr =
12231227
cx.build.GEP(body,
12241228
vec(C_int(0),
12251229
C_int(abi.closure_elt_tydesc)));
12261230

1227-
call_tydesc_glue_full(cx, body, cx.build.Load(tydescptr),
1231+
call_tydesc_glue_full(cx, bindings, cx.build.Load(tydescptr),
12281232
abi.tydesc_field_drop_glue_off);
12291233

12301234

0 commit comments

Comments
 (0)