]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9723 : blake2-ppc/rust/trans-no-push-ctxt-clone, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 4 Oct 2013 23:21:36 +0000 (16:21 -0700)
committerbors <bors@rust-lang.org>
Fri, 4 Oct 2013 23:21:36 +0000 (16:21 -0700)
Avoid cloning the stack on every `push_ctxt` call in trans

Rewrite the use of TLS variable for `push_ctxt` so that it uses a ~[]
instead of a @~[]. Before it cloned the whole vector on each push and
pop, which is unnecessary.


Trivial merge