Skip to content

Commit d66e718

Browse files
committed
---
yaml --- r: 191959 b: refs/heads/snap-stage3 c: b92fee9 h: refs/heads/master i: 191957: e4efab4 191955: afa8ef1 191951: 4ee8c76 v: v3
1 parent 7d30ac7 commit d66e718

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 809a554fca2d0ebc2ba50077016fe282a4064752
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: a7f00cbc0cde133bca5fd308fa1df43fa691e68c
4+
refs/heads/snap-stage3: b92fee9a871bbf260201d41b90b40931d995e5c1
55
refs/heads/try: ce76bff75603a754d092456285ff455eb871633d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc_trans/trans/asm.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ pub fn trans_inline_asm<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, ia: &ast::InlineAsm)
7777
fcx.pop_custom_cleanup_scope(temp_scope);
7878

7979
let clobbers = ia.clobbers.iter()
80-
.map(|s| format!("~{{{}}}", &s))
81-
.collect::<Vec<String>>();
80+
.map(|s| format!("~{{{}}}", &s));
8281

8382
// Default per-arch clobbers
8483
// Basically what clang does
@@ -90,8 +89,8 @@ pub fn trans_inline_asm<'blk, 'tcx>(bcx: Block<'blk, 'tcx>, ia: &ast::InlineAsm)
9089
let all_constraints= constraints.iter()
9190
.map(|s| s.to_string())
9291
.chain(ext_constraints.into_iter())
93-
.chain(clobbers.into_iter())
94-
.chain(arch_clobbers.into_iter()
92+
.chain(clobbers)
93+
.chain(arch_clobbers.iter()
9594
.map(|s| s.to_string()))
9695
.collect::<Vec<String>>()
9796
.connect(",");

0 commit comments

Comments
 (0)