about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-08-15 12:34:28 -0400
committerDaniel Micay <danielmicay@gmail.com>2014-08-15 14:23:00 -0400
commit48edb32a3fc8ba6cc3db9a9d11f5201a919391f5 (patch)
tree9b908cdf08fbee11a917c66c770e7f216750e305 /src/rustllvm/PassWrapper.cpp
parentcafa47506db7f0ac8407d5771ec81f560c5a481f (diff)
downloadrust-48edb32a3fc8ba6cc3db9a9d11f5201a919391f5.tar.gz
rust-48edb32a3fc8ba6cc3db9a9d11f5201a919391f5.zip
mark &T params without UnsafeCell<U> as readonly
These are already marked as `noalias` due to the immutability guarantee
(see 4c2d4cd3dea344e81e4df24382ac3f23e2f86f40), but more information can
be bubbled up to the caller via `readonly`.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions