Skip to content

Commit ed845d4

Browse files
committed
---
yaml --- r: 282033 b: refs/heads/stable c: 47cd05c h: refs/heads/master i: 282031: 6dd4c5f
1 parent 64b3888 commit ed845d4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: 3c795e08d6f4a532f12f3f8e1837db5e0647f8b0
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 9c6bfe4499e010ba9c96c3a64961fd0c166e174c
32+
refs/heads/stable: 47cd05c8c139616f67a9487e77b37be5222fadc6
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_trans/trans/mir/block.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,15 +196,15 @@ impl<'bcx, 'tcx> MirContext<'bcx, 'tcx> {
196196
};
197197

198198
// Split the rust-call tupled arguments off.
199-
let (args, untuple) = if abi == Abi::RustCall && !args.is_empty() {
199+
let (first_args, untuple) = if abi == Abi::RustCall && !args.is_empty() {
200200
let (tup, args) = args.split_last().unwrap();
201201
(args, Some(tup))
202202
} else {
203203
(&args[..], None)
204204
};
205205

206206
let mut idx = 0;
207-
for arg in args {
207+
for arg in first_args {
208208
let val = self.trans_operand(&bcx, arg).val;
209209
self.trans_argument(&bcx, val, &mut llargs, &fn_ty,
210210
&mut idx, &mut callee.data);

0 commit comments

Comments
 (0)