diff options
| author | Kazu Hirata <kazu@google.com> | 2025-11-16 08:08:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-16 08:08:52 -0800 |
| commit | 688b190745655c30a39a25f2e274fd62f0e9cce4 (patch) | |
| tree | 6f845dd480c622a07a439af6cad0c8430e3a1e32 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 2394eb118045bd47c1c75f9cab42d701221846a0 (diff) | |
[ADT] Simplify DenseMap::grow (NFC) (#168238)
This patch simplifies DenseMap::grow by reimplementing it in terms of
DenseMapBase::moveFrom.
Since moveFrom iterates over the bucket range, we don't need:
if (!OldBuckets)
The old bucket array is released by the destructor on Tmp.
This patch removes moveFromOldBuckets as it's no longer used with this
patch. moveFromImpl is "inlined" into moveFrom.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
