diff options
| author | bors <bors@rust-lang.org> | 2014-06-07 00:51:36 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-07 00:51:36 -0700 |
| commit | 8e9e484d7089590ce63bfe21723d7ee0c50be8f4 (patch) | |
| tree | 7004b475993b711d3effe4f1694e4bfddfc29a35 /src/rustllvm/RustWrapper.cpp | |
| parent | 6266f64d09184f53fff4a6f7cea682b4dd714cf2 (diff) | |
| parent | f2f1991c81825b542f77b4e4f2ac65d24a063a9c (diff) | |
| download | rust-8e9e484d7089590ce63bfe21723d7ee0c50be8f4.tar.gz rust-8e9e484d7089590ce63bfe21723d7ee0c50be8f4.zip | |
auto merge of #14708 : gereeter/rust/faster-sem, r=alexcrichton
Currently, `Sem`, which is used as a building block for all the blocking primitives, uses a very ugly hack to implement `Share` and be able to mutate the stored `WaitQueue` by hiding it all behind a `transmute`d `*()`. This PR replaces all that ugly machinery with `Unsafe`. Beyond being cleaner and not requiring `transmute`, this removes an allocation in the creation and removes an indirection for access.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
