[tbb-commits] [tor-browser] 22/43: Bug 1766283 - Make hash table usage deterministic. r=arai, a=RyanVM
gitolite role
git at cupani.torproject.org
Tue May 31 07:07:05 UTC 2022
This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch tor-browser-91.10.0esr-11.0-1
in repository tor-browser.
commit 8bcf8f17993937acf2f06afd35463abb826617b5
Author: Nicolas B. Pierron <nicolas.b.pierron at nbp.name>
AuthorDate: Tue May 10 01:35:43 2022 +0000
Bug 1766283 - Make hash table usage deterministic. r=arai, a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D145100
---
js/src/ds/InlineTable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/js/src/ds/InlineTable.h b/js/src/ds/InlineTable.h
index eb339bdfb8fbc..fe6fd22295706 100644
--- a/js/src/ds/InlineTable.h
+++ b/js/src/ds/InlineTable.h
@@ -94,7 +94,7 @@ class InlineTable : private AllocPolicy {
[[nodiscard]] bool switchToTable() {
MOZ_ASSERT(inlNext_ == InlineEntries);
- table_.clear();
+ table_.clearAndCompact();
InlineEntry* end = inlineEnd();
for (InlineEntry* it = inlineStart(); it != end; ++it) {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tbb-commits
mailing list