]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #10612 : pnkfelix/rust/remove-cut-and-pasted-rt-fixme, r=pcwalton
authorbors <bors@rust-lang.org>
Fri, 22 Nov 2013 20:41:36 +0000 (12:41 -0800)
committerbors <bors@rust-lang.org>
Fri, 22 Nov 2013 20:41:36 +0000 (12:41 -0800)
I cannot tell whether the original comment was unsure about the
arithmetic calculations, or if it was unsure about the assumptions
being made about the alignment of the current allocation pointer.

The arithmetic calculation looks fine to me, though.  This technique
is documented e.g. in Henry Warren's "Hacker's Delight" (section 3-1).

(I am sure one can find it elsewhere too, its not an obscure
property.)


Trivial merge