Remove write-only HashTable member.
Categories
(Core :: MFBT, task)
Tracking
()
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(1 obsolete file)
| Assignee | ||
Comment 1•6 years ago
|
||
And while at it, initialize mMutationCount in the declaration, to remove an
ugly ifdef block.
Comment 3•6 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=281594708&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/0828633f96ee6231072bd24fa0e61131c386c0a3
[task 2019-12-17T18:51:21.047Z] /builds/worker/workspace/build/src/js/src/gc/Nursery.h:309:5: required from here
[task 2019-12-17T18:51:21.047Z] /builds/worker/workspace/build/src/obj-spider/dist/include/mozilla/ReentrancyGuard.h:29:23: error: 'const class mozilla::detail::HashTable<void* const, mozilla::HashSet<void*, mozilla::PointerHasher<void*>, js::SystemAllocPolicy>::SetHashPolicy, js::SystemAllocPolicy>' has no member named 'mEntered'; did you mean 'Entry'?
[task 2019-12-17T18:51:21.047Z] : mEntered(aObj.mEntered)
[task 2019-12-17T18:51:21.047Z] ~~~~~^~~~~~~~
[task 2019-12-17T18:51:21.047Z] Entry
[task 2019-12-17T18:51:21.088Z] /builds/worker/workspace/build/src/obj-spider/dist/include/mozilla/ReentrancyGuard.h: In instantiation of 'mozilla::ReentrancyGuard::ReentrancyGuard(T&, mozilla::detail::GuardObjectNotifier&&) [with T = const mozilla::detail::HashTable<mozilla::HashMapEntry<long unsigned int, mozilla::Array<long unsigned int, 512>>, mozilla::HashMap<long unsigned int, mozilla::Array<long unsigned int, 512>, mozilla::DefaultHasher<long unsigned int>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>]':
[task 2019-12-17T18:51:21.088Z] /builds/worker/workspace/build/src/obj-spider/dist/include/mozilla/HashTable.h:2053:21: required from 'mozilla::detail::HashTable<T, HashPolicy, AllocPolicy>::Ptr mozilla::detail::HashTable<T, HashPolicy, AllocPolicy>::lookup(const Lookup&) const [with T = mozilla::HashMapEntry<long unsigned int, mozilla::Array<long unsigned int, 512>>; HashPolicy = mozilla::HashMap<long unsigned int, mozilla::Array<long unsigned int, 512>, mozilla::DefaultHasher<long unsigned int>, js::SystemAllocPolicy>::MapHashPolicy; AllocPolicy = js::SystemAllocPolicy; mozilla::detail::HashTable<T, HashPolicy, AllocPolicy>::Lookup = long unsigned int]'
[task 2019-12-17T18:51:21.088Z] /builds/worker/workspace/build/src/obj-spider/dist/include/mozilla/HashTable.h:239:32: required from 'mozilla::HashMap<Key, Value, HashPolicy, AllocPolicy>::Ptr mozilla::HashMap<Key, Value, HashPolicy, AllocPolicy>::lookup(const Lookup&) const [with Key = long unsigned int; Value = mozilla::Array<long unsigned int, 512>; HashPolicy = mozilla::DefaultHasher<long unsigned int>; AllocPolicy = js::SystemAllocPolicy; mozilla::HashMap<Key, Value, HashPolicy, AllocPolicy>::Ptr = mozilla::detail::HashTable<mozilla::HashMapEntry<long unsigned int, mozilla::Array<long unsigned int, 512>>, mozilla::HashMap<long unsigned int, mozilla::Array<long unsigned int, 512>*, mozilla::DefaultHasher<long unsigned int>, js::SystemAllocPolicy>::MapHashPolicy, js::SystemAllocPolicy>::Ptr; mozilla::HashMap<Key, Value, HashPolicy, AllocPolicy>::Lookup = long unsigned int]'
[task 2019-12-17T18:51:21.088Z] /builds/worker/workspace/build/src/js/src/ds/Bitmap.h:98:38: required from here
| Assignee | ||
Comment 4•6 years ago
|
||
Generic code, oh well :-)
Updated•6 years ago
|
Description
•