diff options
| author | blake2-ppc <blake2-ppc> | 2013-10-05 01:10:27 +0200 |
|---|---|---|
| committer | blake2-ppc <blake2-ppc> | 2013-10-05 01:10:27 +0200 |
| commit | 87294c23baacaee17a13d2f7316fffc76239cff5 (patch) | |
| tree | 42c04a0b0f5ddd1e48e10059c099d2e383cc81bd /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 9344e2a8665ccd8010bd903aab450115de80bf46 (diff) | |
| download | rust-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
