diff options
| author | Kasey Carrothers <kaseyc.808@gmail.com> | 2014-09-25 23:49:17 -0700 |
|---|---|---|
| committer | Kasey Carrothers <kaseyc.808@gmail.com> | 2014-10-08 18:35:29 -0700 |
| commit | dd4fa906fcc3f21eca8d8ce958b4728ed62581e1 (patch) | |
| tree | 59bf1c4db9a2a28bdcb7344f84acac9b747fa0e0 /src/rustllvm/RustWrapper.cpp | |
| parent | 63fe80e1ffd036e99e1c707116774ac10203e2f1 (diff) | |
| download | rust-dd4fa906fcc3f21eca8d8ce958b4728ed62581e1.tar.gz rust-dd4fa906fcc3f21eca8d8ce958b4728ed62581e1.zip | |
Clean up the implementations of Bitv and BitvSet.
Functions that add bits now ensure that any unused bits are set to 0. `into_bitv` sanitizes the nbits of the Bitv/BitvSet it returns by setting the nbits to the current capacity. Fix a bug with `union_with` and `symmetric_difference` with due to not updating nbits properly Add test cases to the _with functions Remove `get_mut_ref` This is a [breaking-change]. The things you will need to fix are: 1. BitvSet's `unwrap()` has been renamed to `into_bitv` 2. BitvSet's `get_mut_ref()` has been removed. Use `into_bitv()` and `from_bitv()` instead.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
