Skip to content

Commit 9a0276a

Browse files
committed
---
yaml --- r: 139042 b: refs/heads/try2 c: 83f2d4a h: refs/heads/master v: v3
1 parent f74b79c commit 9a0276a

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
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: d68b98a5bfebffb28d49e14e6568a69c547c74ae
8+
refs/heads/try2: 83f2d4ab3dbd3b52ea60212a6698c73201b67a34
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

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