summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
diff options
context:
space:
mode:
authorEaswaran Raman <eraman@google.com>2019-01-05 02:26:29 +0000
committerEaswaran Raman <eraman@google.com>2019-01-05 02:26:29 +0000
commit366a873f144a065ef7ec1ec37d4bffdc55bb6baa (patch)
tree0e5415d17a2df6cc8b208186f90739914e3503e9 /lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py
parent45ec002e25318e8444b3301e94ed53f4cf1a3e79 (diff)
downloadbcm5719-llvm-366a873f144a065ef7ec1ec37d4bffdc55bb6baa.tar.gz
bcm5719-llvm-366a873f144a065ef7ec1ec37d4bffdc55bb6baa.zip
[Inliner] Optimize shouldBeDeferred
This has some minor optimizations to shouldBeDeferred. This is not strictly NFC because the early exit inside the loop assumes TotalSecondaryCost is monotonically non-decreasing, which is not true if the threshold used by CostAnalyzer is negative. AFAICT the thresholds do not go below 0 for the default values of the various options we use. llvm-svn: 350456
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/sbstructureddata/TestStructuredDataAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud