summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2020-04-21 00:00:33 -0700
committerCraig Topper <craig.topper@gmail.com>2020-04-21 00:36:34 -0700
commit2cf3c033f3a1d4c2c36a94a80b7ba6bcba1e8711 (patch)
tree053bfbc23a3b2b892cb71efc59417f8aebb74790 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent6235951ec0d9df0227c5a247fb2c90ffe9a44c5a (diff)
[DenseMap] Don't capture the BucketEnd pointer before an operation that might change the number of buckets.
This code was added in 887efa51c1e0e43ca684ed78b92dbc3a0720881b to fix reverse iteration. The call to InsertIntoBucket/InsertIntoBucketWithLookup can change the number of buckets which will invalidate the BucketEnd. So don't cache it and calculate it when creating the iterator.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions