about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-04 16:21:36 -0700
committerbors <bors@rust-lang.org>2013-10-04 16:21:36 -0700
commit8cb3426f16e22215f9a8dd61bb8b965fb9b26023 (patch)
tree09f66e0a9730281aaee65121da54de27b0275036 /src/test/codegen/stack-alloc-string-slice.rs
parentc5295f9c4713e77dbb8dfc76bc91e10fceaabbb2 (diff)
parent87294c23baacaee17a13d2f7316fffc76239cff5 (diff)
downloadrust-8cb3426f16e22215f9a8dd61bb8b965fb9b26023.tar.gz
rust-8cb3426f16e22215f9a8dd61bb8b965fb9b26023.zip
auto merge of #9723 : blake2-ppc/rust/trans-no-push-ctxt-clone, r=alexcrichton
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.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions