Skip to content

more dynamic allocation work #14322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2014
Merged

more dynamic allocation work #14322

merged 2 commits into from
May 22, 2014

Conversation

thestinger
Copy link
Contributor

No description provided.

@thestinger thestinger changed the title more heap work more dynamic allocation work May 21, 2014
})
}
ty::ty_str => {
with_cond(bcx, not_null, |bcx| {
let unit_ty = ty::sequence_element_type(bcx.tcx(), t);
let bcx = tvec::make_drop_glue_unboxed(bcx, llbox, unit_ty);
trans_exchange_free(bcx, llbox)
// FIXME: #13994: the old `Box<str>` will not support sized deallocation
trans_exchange_free(bcx, llbox, 0, 8)
Copy link
Member

Choose a reason for hiding this comment

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

And soon we'll be able to remove these entirely!

This is now only used internally by the compiler.
The support for sized deallocation is nearly complete. The only known
missing pieces are `Box<str>`, `Box<[T]>` and `proc`.
@bors bors closed this May 22, 2014
@bors bors merged commit f1ce693 into rust-lang:master May 22, 2014
@thestinger thestinger deleted the secret_santa_heap branch September 10, 2014 06:53
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.

3 participants