Skip to content

Commit 155c12a

Browse files
committed
---
yaml --- r: 273273 b: refs/heads/beta c: 47cd05c h: refs/heads/master i: 273271: ca97ccd
1 parent 2e82e5f commit 155c12a

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
@@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
2323
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
2424
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26-
refs/heads/beta: 9c6bfe4499e010ba9c96c3a64961fd0c166e174c
26+
refs/heads/beta: 47cd05c8c139616f67a9487e77b37be5222fadc6
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
2828
refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f

branches/beta/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)