summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
diff options
context:
space:
mode:
authorCong Hou <congh@google.com>2015-11-18 01:20:37 +0000
committerCong Hou <congh@google.com>2015-11-18 01:20:37 +0000
commite8c455d90e5514ba112703a6c4e822c5aeae0274 (patch)
tree5a6d1efffcc9abe20ebfc27fe116236630f7dfa6 /lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp
parent2a40fb78c0ae8ba9a46cd63fad2ed50c6f5ec31e (diff)
downloadbcm5719-llvm-e8c455d90e5514ba112703a6c4e822c5aeae0274.tar.gz
bcm5719-llvm-e8c455d90e5514ba112703a6c4e822c5aeae0274.zip
Let += and -= operators in BranchProbability have saturation behaviors.
This commit is for a later patch that is depend on it. The sum of two branch probabilities can be greater than 1 due to rounding. It is safer to saturate the results of sum and subtraction. llvm-svn: 253421
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/overloaded-functions/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud