diff options
| author | Yevgeny Rouban <yrouban@azul.com> | 2020-11-06 13:11:08 +0700 |
|---|---|---|
| committer | Yevgeny Rouban <yrouban@azul.com> | 2020-11-06 13:13:58 +0700 |
| commit | e38c8e7590a0a82be24f3bcc5b87736498f2cb07 (patch) | |
| tree | 412eed2d444a7b21dca3106ca8b555ac3aeee177 /lldb/packages/Python/lldbsuite/test | |
| parent | 60e2c5b03b590fbb1477d3d7170d5bd434b39ce9 (diff) | |
| download | llvm-e38c8e7590a0a82be24f3bcc5b87736498f2cb07.zip llvm-e38c8e7590a0a82be24f3bcc5b87736498f2cb07.tar.gz llvm-e38c8e7590a0a82be24f3bcc5b87736498f2cb07.tar.bz2 | |
[BranchProbabilityInfo] Remove block handles in eraseBlock()
BranchProbabilityInfo::eraseBlock() is a public method and
can be called without deleting the block itself.
This method is made remove the correspondent tracking handle
from BranchProbabilityInfo::Handles along with
the probabilities of the block. Handles.erase() call is moved
to eraseBlock().
In setEdgeProbability() we need to add the block handle only once.
Reviewed By: kazu
Differential Revision: https://reviews.llvm.org/D90838
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions
