summaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/ExecutionEngine.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2012-08-21 13:47:25 +0000
committerDuncan Sands <baldrick@free.fr>2012-08-21 13:47:25 +0000
commit91fcb7f42099f11f8ea298c4b231d801998bf2dd (patch)
tree995b1d68a7ef863fbfe2724c5c56492dc61946cc /lib/ExecutionEngine/ExecutionEngine.cpp
parentd43d7fec1066ba9f3769894d035aa0aa154fd3a5 (diff)
downloadllvm-91fcb7f42099f11f8ea298c4b231d801998bf2dd.tar.gz
llvm-91fcb7f42099f11f8ea298c4b231d801998bf2dd.tar.bz2
llvm-91fcb7f42099f11f8ea298c4b231d801998bf2dd.tar.xz
PVS-Studio noticed that EmitVBR64 would perform undefined behaviour if the
number of bits was bigger than 32. I checked every use of this function that I could find and it looks like the maximum number of bits is 32, so I've added an assertion checking this property, and a type cast to (hopefully) stop PVS-Studio from warning about this in the future. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/ExecutionEngine.cpp')
0 files changed, 0 insertions, 0 deletions