about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-07 00:51:36 -0700
committerbors <bors@rust-lang.org>2014-06-07 00:51:36 -0700
commit8e9e484d7089590ce63bfe21723d7ee0c50be8f4 (patch)
tree7004b475993b711d3effe4f1694e4bfddfc29a35 /src/rustllvm/RustWrapper.cpp
parent6266f64d09184f53fff4a6f7cea682b4dd714cf2 (diff)
parentf2f1991c81825b542f77b4e4f2ac65d24a063a9c (diff)
downloadrust-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