about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorJed Davis <jld@panix.com>2013-02-24 14:01:43 -0800
committerJed Davis <jld@panix.com>2013-03-06 20:41:57 -0800
commit2a028c5ab8363d9263d0cda09d6ab884c5b73978 (patch)
treecb05d9a5667c60c4f15f429d5dbef536551e0fa3 /src/rt/sync/rust_thread.cpp
parent80844f993d8964ca89630115c5c0f7e8beb315cb (diff)
downloadrust-2a028c5ab8363d9263d0cda09d6ab884c5b73978.tar.gz
rust-2a028c5ab8363d9263d0cda09d6ab884c5b73978.zip
Convert newtype "dereference" to trans::adt.
Note that in the ByValue case (which can't happen? yet?) we're still
effectively bitcasting, I think.  So this change adds a way to assert
that that's safe.

Note also, for future reference, that LLVM's instcombine pass will turn
a bitcast into a GEP(0, 0, ...) if possible.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions