diff options
| author | bors <bors@rust-lang.org> | 2013-10-04 16:21:36 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-10-04 16:21:36 -0700 |
| commit | 8cb3426f16e22215f9a8dd61bb8b965fb9b26023 (patch) | |
| tree | 09f66e0a9730281aaee65121da54de27b0275036 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | c5295f9c4713e77dbb8dfc76bc91e10fceaabbb2 (diff) | |
| parent | 87294c23baacaee17a13d2f7316fffc76239cff5 (diff) | |
| download | rust-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
