Skip to content

Commit 0c01df6

Browse files
committed
---
yaml --- r: 4703 b: refs/heads/master c: 14d85ca h: refs/heads/master i: 4701: a288e80 4699: f3e8bbb 4695: 4f46c17 4687: f26e5b2 4671: 4350ee3 v: v3
1 parent b827f92 commit 0c01df6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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: d55048ec5cd40c1eafdd2f7fcee8d3b97697066f
2+
refs/heads/master: 14d85ca87a076d674e4a434d4c27e0fed8335f19

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4436,7 +4436,7 @@ fn trans_bind_thunk(cx: &@local_ctxt, sp: &span, incoming_fty: &ty::t,
44364436
type_of_fn_from_ty(bcx_ccx(bcx), sp, outgoing_fty, ty_param_count);
44374437
lltargetfn = bcx.build.PointerCast(lltargetfn, T_ptr(T_ptr(lltargetty)));
44384438
lltargetfn = bcx.build.Load(lltargetfn);
4439-
bcx.build.FastCall(lltargetfn, llargs);
4439+
llvm::LLVMSetTailCall(bcx.build.FastCall(lltargetfn, llargs), 1);
44404440
bcx.build.RetVoid();
44414441
finish_fn(fcx, lltop);
44424442
ret {val: llthunk, ty: llthunk_ty};

0 commit comments

Comments
 (0)