un-xfail test, remove old comment
This commit is contained in:
parent
ed952ecf68
commit
4132cbd22a
|
@ -124,7 +124,6 @@ fn trans_vtable_callee(bcx: block, env: callee_env, dict: ValueRef,
|
||||||
let method_ty = ty::mk_fn(tcx, method.fty);
|
let method_ty = ty::mk_fn(tcx, method.fty);
|
||||||
let {ty: fty, llty: llfty} =
|
let {ty: fty, llty: llfty} =
|
||||||
wrapper_fn_ty(ccx, val_ty(dict), method_ty, method.tps);
|
wrapper_fn_ty(ccx, val_ty(dict), method_ty, method.tps);
|
||||||
// node_id_type(bcx, callee_id),
|
|
||||||
let vtable = PointerCast(bcx, Load(bcx, GEPi(bcx, dict, [0, 0])),
|
let vtable = PointerCast(bcx, Load(bcx, GEPi(bcx, dict, [0, 0])),
|
||||||
T_ptr(T_array(T_ptr(llfty), n_method + 1u)));
|
T_ptr(T_array(T_ptr(llfty), n_method + 1u)));
|
||||||
let mptr = Load(bcx, GEPi(bcx, vtable, [0, n_method as int]));
|
let mptr = Load(bcx, GEPi(bcx, vtable, [0, n_method as int]));
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
// Check usage and precedence of block arguments in expressions:
|
// Check usage and precedence of block arguments in expressions:
|
||||||
// xfail-test
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let v = [-1f, 0f, 1f, 2f, 3f];
|
let v = [-1f, 0f, 1f, 2f, 3f];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue