about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorblake2-ppc <blake2-ppc>2013-10-05 01:10:27 +0200
committerblake2-ppc <blake2-ppc>2013-10-05 01:10:27 +0200
commit87294c23baacaee17a13d2f7316fffc76239cff5 (patch)
tree42c04a0b0f5ddd1e48e10059c099d2e383cc81bd /src/test/codegen/stack-alloc-string-slice.rs
parent9344e2a8665ccd8010bd903aab450115de80bf46 (diff)
downloadrust-87294c23baacaee17a13d2f7316fffc76239cff5.tar.gz
rust-87294c23baacaee17a13d2f7316fffc76239cff5.zip
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