Skip to content

Commit ce352c7

Browse files
committed
---
yaml --- r: 140223 b: refs/heads/try2 c: aa48a17 h: refs/heads/master i: 140221: d892902 140219: 323e779 140215: 9a98eff 140207: c36693a 140191: ac37c7e 140159: 8831bdf v: v3
1 parent 35570ec commit ce352c7

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
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: a896440ca1b93cc5dc6edd827ea2ae89602bfa9e
8+
refs/heads/try2: aa48a170d55e3003b70626b16ccd698b5aca8269
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/dataflow.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,9 @@ impl<'self, O:DataFlowOperator> PropagationContext<'self, O> {
846846
// alternatives, so we must treat this like an N-way select
847847
// statement.
848848
let initial_state = reslice(in_out).to_vec();
849-
self.reset(in_out);
850849
for pats.each |&pat| {
851850
let mut temp = copy initial_state;
852-
self.walk_pat(pat, in_out, loop_scopes);
851+
self.walk_pat(pat, temp, loop_scopes);
853852
join_bits(&self.dfcx.oper, temp, in_out);
854853
}
855854
}

0 commit comments

Comments
 (0)