mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #618 - Lazily initialise module binding maps - Debug follow up
The added debug assertion does not work due to missing API. They were added in BZ 1337491, 1395366, and others, but were primarily used for multi-threading. This uses our existing non-multithreaded syntax instead, resolving a `no member named` build error.
This commit is contained in:
parent
40017437ab
commit
f600824850
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ IndirectBindingMap::put(JSContext* cx, HandleId name,
|
|||
// different zone to the final module. Lazily allocate the map so we don't
|
||||
// have to switch its zone when merging compartments.
|
||||
if (!map_) {
|
||||
MOZ_ASSERT(!cx->zone()->group()->createdForHelperThread());
|
||||
MOZ_ASSERT(!cx->zone()->usedByExclusiveThread);
|
||||
map_.emplace(cx->zone());
|
||||
if (!map_->init()) {
|
||||
map_.reset();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue