about summary refs log tree commit diff
path: root/src/rt/rust_exchange_alloc.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-08-06 17:15:43 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-08-06 23:41:20 -0400
commitf23fb19ee508515912e136c948a0242cc88a2d4e (patch)
treef83ee05e78fd9ea5560c03529c5c9860d576a061 /src/rt/rust_exchange_alloc.cpp
parent8f9bbc476d9e4403bc5cd1edfe4a651bd341e811 (diff)
downloadrust-f23fb19ee508515912e136c948a0242cc88a2d4e.tar.gz
rust-f23fb19ee508515912e136c948a0242cc88a2d4e.zip
vec: avoid `ptrtoint`/`inttoptr` in the iterators
This results in throwing away alias analysis information, because LLVM
does *not* implement reasoning about these conversions yet.

We specialize zero-size types since a `getelementptr` offset will
return us the same pointer, making it broken as a simple counter.
Diffstat (limited to 'src/rt/rust_exchange_alloc.cpp')
0 files changed, 0 insertions, 0 deletions