about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorFalco Hirschenberger <falco.hirschenberger@gmail.com>2014-11-03 20:08:11 +0100
committerFalco Hirschenberger <falco.hirschenberger@gmail.com>2014-11-03 20:08:11 +0100
commit32b903d87768dbc9acf497b1646b20069d9bf212 (patch)
treed4580303b7129be285ef9b581955e6ca4505b8c0 /src/rustllvm/RustWrapper.cpp
parent2790505c19b158a5494139dba084b6af82810b96 (diff)
downloadrust-32b903d87768dbc9acf497b1646b20069d9bf212.tar.gz
rust-32b903d87768dbc9acf497b1646b20069d9bf212.zip
Also fix undefined behaviour when shift equals the number of bits
LLVM states:  "If op2 is (statically or dynamically) negative or equal
to or larger than the number of bits in op1, the result is undefined."
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions