Skip to content

Commit 3d0163d

Browse files
committed
---
yaml --- r: 28430 b: refs/heads/try c: 3c7cc9a h: refs/heads/master v: v3
1 parent d36949b commit 3d0163d

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
5-
refs/heads/try: d6ceef95bae928dbaf6050c95939d39ac33e1725
5+
refs/heads/try: 3c7cc9a1b813f658e34dbb7d596e2b4ab9221e9e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df

branches/try/src/rustc/middle/trans/impl.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,11 @@ fn trans_static_method_callee(bcx: block,
186186
bcx, mth_id, impl_did, callee_id, rcvr_origins);
187187

188188
let FnData {llfn: lval} =
189-
trans_fn_ref_with_vtables(bcx, mth_id, callee_id,
190-
callee_substs, Some(callee_origins));
189+
trans_fn_ref_with_vtables(bcx,
190+
mth_id,
191+
callee_id,
192+
callee_substs,
193+
Some(callee_origins));
191194

192195
let callee_ty = node_id_type(bcx, callee_id);
193196
let llty = T_ptr(type_of_fn_from_ty(ccx, callee_ty));

branches/try/src/rustc/middle/typeck/check/vtable.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,8 @@ fn connect_trait_tps(fcx: @fn_ctxt, expr: @ast::expr, impl_tys: ~[ty::t],
400400
}
401401
}
402402

403-
fn insert_vtables(ccx: @crate_ctxt, callee_id: ast::node_id, vtables: vtable_res) {
403+
fn insert_vtables(ccx: @crate_ctxt, callee_id: ast::node_id,
404+
vtables: vtable_res) {
404405
debug!("insert_vtables(callee_id=%d, vtables=%?)",
405406
callee_id, vtables.map(|v| v.to_str(ccx.tcx)));
406407
ccx.vtable_map.insert(callee_id, vtables);

0 commit comments

Comments
 (0)