about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorAlexis Beingessner <a.beingessner@gmail.com>2014-11-21 20:47:40 -0500
committerAlexis Beingessner <a.beingessner@gmail.com>2014-12-20 09:10:02 -0500
commit9c5101542d2a4983ade627bc593e16c0bb5f23ba (patch)
treeb4d01fad71809dbcba2f15e22866dafc67cdb0ad /src/rustllvm/ExecutionEngineWrapper.cpp
parent8f51ad2420776925c12be67a7bf38ac28343fd1f (diff)
downloadrust-9c5101542d2a4983ade627bc593e16c0bb5f23ba.tar.gz
rust-9c5101542d2a4983ade627bc593e16c0bb5f23ba.zip
Conventions and cleanup for Bitv and BitvSet
Part of #18424

This commit changes the semantics of `reserve` and `capacity` for Bitv and BitvSet to match conventions. It also introduces the notion of `reserve_index` and `reserve_index_exact` for collections with maximum-index-based capacity semantics.

Deprecates free function constructors in favour of functions on Bitv itself.

Changes `Bitv::pop` to return an Option rather than panicking.

Deprecates and renames several methods in favour of conventions.

Marks several blessed methods as unstable.

This commit also substantially refactors Bitv and BitvSet's implementations. The new implementation is simpler, cleaner, better documented, and more robust against overflows. It also reduces coupling between Bitv and BitvSet. Tests have been seperated into seperate submodules.

Fixes #16958

[breaking-change]
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions