summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JIT.h
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2012-08-20 17:04:45 +0000
committerJordan Rose <jordan_rose@apple.com>2012-08-20 17:04:45 +0000
commit0a9ea7c70de2db1e8de3f75fbac61d302ef52375 (patch)
treeb088b91232261fb4babfbbb068b99b05b31f74f2 /llvm/lib/ExecutionEngine/JIT/JIT.h
parent486290078c7af9afefe0564f2094047f07ee84a5 (diff)
downloadbcm5719-llvm-0a9ea7c70de2db1e8de3f75fbac61d302ef52375.tar.gz
bcm5719-llvm-0a9ea7c70de2db1e8de3f75fbac61d302ef52375.zip
[analyzer] The result of && or || is always a 1 or 0.
Forgetting to at least cast the result was giving us Loc/NonLoc problems in SValBuilder (hitting an assertion). But the standard (both C and C++) does actually guarantee that && and || will result in the actual values 1 and 0, typed as 'int' in C and 'bool' in C++, and we can easily model that. PR13461 llvm-svn: 162209
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JIT.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud