From cb83ca733e41a8f5fac8d726673466b482f0f96b Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Mon, 31 Jul 2017 22:12:03 -0700 Subject: [PATCH] Backed out changeset e94dceac8090 (bug 1385181) for causing bug 1386011 (CCov build bustage) a=bustage MozReview-Commit-ID: BK2XP0pcoE8 --- js/public/HashTable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/public/HashTable.h b/js/public/HashTable.h index 764c992766cd..4cc8622ec1a4 100644 --- a/js/public/HashTable.h +++ b/js/public/HashTable.h @@ -1772,7 +1772,9 @@ class HashTable : private AllocPolicy if (!EnsureHash(l)) return AddPtr(); HashNumber keyHash = prepareHash(l); - return AddPtr(lookup(l, keyHash, sCollisionBit), *this, keyHash); + Entry& entry = lookup(l, keyHash, sCollisionBit); + AddPtr p(entry, *this, keyHash); + return p; } template