mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Meta: Update gdb script for changes in HashTable
This commit is contained in:
parent
086969277e
commit
899888bbf2
Notes:
sideshowbarker
2024-07-17 16:21:04 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/899888bbf2 Pull-request: https://github.com/SerenityOS/serenity/pull/13419 Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 2 additions and 1 deletions
|
@ -292,7 +292,8 @@ class AKHashMapPrettyPrinter:
|
|||
buckets = val["m_buckets"]
|
||||
for i in range(0, val["m_capacity"]):
|
||||
bucket = buckets[i]
|
||||
if bucket["used"]:
|
||||
# if state == Used
|
||||
if bucket["state"] & 0xf0 == 0x10:
|
||||
cb(bucket["storage"].cast(entry_type_ptr))
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Reference in a new issue