mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Merge remote-tracking branch 'origin/master' into custom
This commit is contained in:
commit
b214a513f9
19 changed files with 30 additions and 16 deletions
|
|
@ -289,7 +289,7 @@ DoTypeUpdateFallback(JSContext* cx, BaselineFrame* frame, ICUpdatedStub* stub, H
|
|||
case ICStub::SetProp_Native:
|
||||
case ICStub::SetProp_NativeAdd:
|
||||
case ICStub::SetProp_Unboxed: {
|
||||
MOZ_ASSERT(obj->isNative() || obj->is<UnboxedPlainObject>());
|
||||
MOZ_ASSERT(obj->isNative());
|
||||
jsbytecode* pc = stub->getChainFallback()->icEntry()->pc(script);
|
||||
if (*pc == JSOP_SETALIASEDVAR || *pc == JSOP_INITALIASEDLEXICAL)
|
||||
id = NameToId(EnvironmentCoordinateName(cx->caches.envCoordinateNameCache, script, pc));
|
||||
|
|
|
|||
|
|
@ -3785,7 +3785,6 @@ class MObjectState
|
|||
MOZ_MUST_USE bool initFromTemplateObject(TempAllocator& alloc, MDefinition* undefinedVal);
|
||||
|
||||
size_t numFixedSlots() const {
|
||||
MOZ_ASSERT(!isUnboxed());
|
||||
return numFixedSlots_;
|
||||
}
|
||||
size_t numSlots() const {
|
||||
|
|
|
|||
|
|
@ -112,13 +112,6 @@ JSCompartment::~JSCompartment()
|
|||
js_delete(nonSyntacticLexicalEnvironments_),
|
||||
js_free(enumerators);
|
||||
|
||||
#ifdef DEBUG
|
||||
// Avoid assertion destroying the unboxed layouts list if the embedding
|
||||
// leaked GC things.
|
||||
if (!rt->gc.shutdownCollectedEverything())
|
||||
unboxedLayouts.clear();
|
||||
#endif
|
||||
|
||||
runtime_->numCompartments--;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue