Skip to content

Commit f2637ba

Browse files
committed
---
yaml --- r: 64667 b: refs/heads/snap-stage3 c: fbbbc98 h: refs/heads/master i: 64665: 984f4d5 64663: e54f312 v: v3
1 parent 0abf7c0 commit f2637ba

File tree

4 files changed

+242
-222
lines changed

4 files changed

+242
-222
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: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 4b9759e20fc8a23b3d87765ebb8943adc357ce33
4+
refs/heads/snap-stage3: fbbbc98ea4aaa59c7266ab4b60f18050a046634e
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1109,7 +1109,9 @@ pub fn find_vtable(tcx: ty::ctxt,
11091109
debug!("find_vtable(n_param=%u, n_bound=%u, ps=%s)",
11101110
n_param, n_bound, ps.repr(tcx));
11111111

1112-
ps.vtables.get()[n_param][n_bound].clone()
1112+
let tables = ps.vtables.expect("vtables missing where they are needed");
1113+
let param_bounds = tables[n_param];
1114+
param_bounds[n_bound].clone()
11131115
}
11141116

11151117
pub fn dummy_substs(tps: ~[ty::t]) -> ty::substs {

0 commit comments

Comments
 (0)