Skip to content

Commit d7d4b4f

Browse files
committed
trans_args no longer needs llobj argument.
1 parent 2a3235b commit d7d4b4f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/comp/middle/trans.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4710,7 +4710,7 @@ fn trans_arg_expr(cx: &@block_ctxt, arg: &ty::arg, lldestty0: TypeRef,
47104710
// - create_llargs_for_fn_args.
47114711
// - new_fn_ctxt
47124712
// - trans_args
4713-
fn trans_args(cx: &@block_ctxt, llenv: ValueRef, llobj: &option::t[ValueRef],
4713+
fn trans_args(cx: &@block_ctxt, llenv: ValueRef,
47144714
gen: &option::t[generic_info], lliterbody: &option::t[ValueRef],
47154715
es: &(@ast::expr)[], fn_ty: &ty::t) ->
47164716
{bcx: @block_ctxt, args: ValueRef[], retslot: ValueRef} {
@@ -4829,8 +4829,7 @@ fn trans_call(cx: &@block_ctxt, f: &@ast::expr,
48294829

48304830
let ret_ty = ty::node_id_to_type(bcx_tcx(cx), id);
48314831
let args_res =
4832-
trans_args(bcx, llenv, f_res.llobj, f_res.generic, lliterbody, args,
4833-
fn_ty);
4832+
trans_args(bcx, llenv, f_res.generic, lliterbody, args, fn_ty);
48344833
bcx = args_res.bcx;
48354834
let llargs = args_res.args;
48364835
let llretslot = args_res.retslot;

0 commit comments

Comments
 (0)