Skip to content

Conversation

dotdash
Copy link
Contributor

@dotdash dotdash commented Mar 1, 2015

The logic for the argument translation was duplicated here.

@rust-highfive
Copy link
Contributor

r? @eddyb

(rust_highfive has picked a reviewer for you, use r? to override)

llargs.push(arg_datum.add_clean(bcx.fcx, arg_cleanup_scope));
llargs.push(unpack_result!(bcx, {
trans_arg_datum(bcx,
field_types[i],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't this whole for loop be written as llargs.extend(field_types.map(|field_ty| ...))?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

The logic for the argument translation was duplicated here.
@eddyb
Copy link
Member

eddyb commented Mar 1, 2015

@bors r+ 708c385 rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 1, 2015
 The logic for the argument translation was duplicated here.
@bors bors merged commit 708c385 into rust-lang:master Mar 2, 2015
@dotdash dotdash deleted the trans_arg branch May 8, 2015 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants