Skip to content

Commit a4f39bb

Browse files
committed
---
yaml --- r: 48763 b: refs/heads/snap-stage3 c: 83f2d4a h: refs/heads/master i: 48761: 6eea071 48759: 0199f0a v: v3
1 parent 0e40714 commit a4f39bb

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
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: 3bbcac322669cff3abde5be937cc4ec3860f3985
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d68b98a5bfebffb28d49e14e6568a69c547c74ae
4+
refs/heads/snap-stage3: 83f2d4ab3dbd3b52ea60212a6698c73201b67a34
55
refs/heads/try: 2a8fb58d79e685d5ca07b039badcf2ae3ef077ea
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/middle/moves.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -558,15 +558,7 @@ pub impl VisitContext {
558558
self.use_expr(base, Read, visitor);
559559
}
560560

561-
expr_inline_asm(_, ref ins, ref outs, _, _, _) => {
562-
for ins.each |&(c, in)| {
563-
// XXX: Do something?
564-
}
565-
for outs.each |&(c, out)| {
566-
// XXX: Do something?
567-
}
568-
}
569-
561+
expr_inline_asm(*) |
570562
expr_break(*) |
571563
expr_again(*) |
572564
expr_lit(*) => {}

branches/snap-stage3/src/librustc/middle/trans/type_use.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,12 @@ pub fn mark_for_expr(cx: Context, e: @expr) {
350350
}
351351

352352
expr_inline_asm(_, ref ins, ref outs, _, _, _) => {
353-
// XXX Do something, maybe?
353+
for ins.each |&(_, in)| {
354+
node_type_needs(cx, use_repr, in.id);
355+
}
356+
for outs.each |&(_, out)| {
357+
node_type_needs(cx, use_repr, out.id);
358+
}
354359
}
355360

356361
expr_paren(e) => mark_for_expr(cx, e),

branches/snap-stage3/src/libsyntax/visit.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,10 +563,10 @@ pub fn visit_expr<E>(ex: @expr, e: E, v: vt<E>) {
563563
expr_mac(ref mac) => visit_mac((*mac), e, v),
564564
expr_paren(x) => (v.visit_expr)(x, e, v),
565565
expr_inline_asm(_, ins, outs, _, _, _) => {
566-
for ins.each |&(c, in)| {
566+
for ins.each |&(_, in)| {
567567
(v.visit_expr)(in, e, v);
568568
}
569-
for outs.each |&(c, out)| {
569+
for outs.each |&(_, out)| {
570570
(v.visit_expr)(out, e, v);
571571
}
572572
}

0 commit comments

Comments
 (0)