about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2016-11-12 10:38:38 +0200
committerGitHub <noreply@github.com>2016-11-12 10:38:38 +0200
commitf19f9399947c6172168cfaae2c45ba7d9f08d624 (patch)
treea8fdcdaffeb8e1d4b402ae4b5624338105403c47 /src/test/incremental/thinlto
parentc3ab57c99e0e9d017c90a7c0bf76230afcb0c984 (diff)
parent7bbebb1f542e4431249faa1138da4cfcb6b9269a (diff)
downloadrust-f19f9399947c6172168cfaae2c45ba7d9f08d624.tar.gz
rust-f19f9399947c6172168cfaae2c45ba7d9f08d624.zip
Rollup merge of #37551 - Mark-Simulacrum:upgrade-accvec, r=eddyb
Replace syntax's SmallVector with AccumulateVec

This adds a new type to data_structures, `SmallVec`, which wraps `AccumulateVec` with support for re-allocating onto the heap (`SmallVec::reserve`). `SmallVec` is then used to replace the implementation of `SmallVector` in libsyntax.

r? @eddyb

Fixes #37371. Using `SmallVec` instead of libsyntax's `SmallVector` will provide the `N = 2/4` case easily (just needs a few more `Array` impls).

cc @nnethercote, probably interested in this area
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions