File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
trunk/src/rustc/middle/trans Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 80f4e9f2ec7b0ee63d920bb24b1403766750bd3e
2
+ refs/heads/master: 4806a4f1200c45a5991ccb75683cb3a7b58abe1d
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5
5
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be
Original file line number Diff line number Diff line change @@ -653,7 +653,7 @@ fn add_comment(bcx: block, text: ~str) {
653
653
let ccx = bcx. ccx ( ) ;
654
654
if !ccx. sess . no_asm_comments ( ) {
655
655
let sanitized = str:: replace ( text, ~"$", ~"") ;
656
- let comment_text = ~"# " + sanitized;
656
+ let comment_text = ~"# " + str::replace( sanitized, ~" \n " , ~" \n \t # ") ;
657
657
let asm = str::as_c_str(comment_text, |c| {
658
658
str::as_c_str(~" ", |e| {
659
659
count_insn ( bcx, ~"inlineasm") ;
You can’t perform that action at this time.
0 commit comments