summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-11-17 08:00:01 -0800
committerGitHub <noreply@github.com>2025-11-17 08:00:01 -0800
commitdcf8cd9c5b7cf15a07850484c6bb50516c4faacd (patch)
tree4afef1b1479899be81c2b1f40d54bafb0551f909 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parentbf21156ee69a7c8b27733d037abc0ab108451de9 (diff)
[ADT] Consolidate the grow() logic in DenseMapBase (NFC) (#168316)
This patch consolidates the grow() logic in DenseMapBase::grow. With this patch, DenseMapBase::grow() creates a temporary grown instance and then lets DenseMap/SmallDenseMap attempt to move the instance back to *this. If it doesn't work, we move again. The "attempt to move" always succeeds for DenseMap. For SmallDenseMap, it succeeds only in the large mode. This is part of the effort outlined in #168255.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions