Skip to content

Commit eb4aa3b

Browse files
committed
---
yaml --- r: 22664 b: refs/heads/master c: 4806a4f h: refs/heads/master v: v3
1 parent ead7c0a commit eb4aa3b

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,5 +1,5 @@
11
---
2-
refs/heads/master: 80f4e9f2ec7b0ee63d920bb24b1403766750bd3e
2+
refs/heads/master: 4806a4f1200c45a5991ccb75683cb3a7b58abe1d
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/rustc/middle/trans/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ fn add_comment(bcx: block, text: ~str) {
653653
let ccx = bcx.ccx();
654654
if !ccx.sess.no_asm_comments() {
655655
let sanitized = str::replace(text, ~"$", ~"");
656-
let comment_text = ~"# " + sanitized;
656+
let comment_text = ~"# " + str::replace(sanitized, ~"\n", ~"\n\t# ");
657657
let asm = str::as_c_str(comment_text, |c| {
658658
str::as_c_str(~"", |e| {
659659
count_insn(bcx, ~"inlineasm");

0 commit comments

Comments
 (0)