mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Undo change it breaks compilation and issue is fixed, asserts no longer happen.
Undo change it breaks compilation and issue is fixed, asserts no longer happen.
This commit is contained in:
parent
e1d8fc535d
commit
0864846be4
1 changed files with 2 additions and 4 deletions
|
|
@ -859,10 +859,8 @@ class NativeObject : public ShapedObject
|
|||
|
||||
// Check requirements on values stored to this object.
|
||||
MOZ_ALWAYS_INLINE void checkStoredValue(const Value& v) {
|
||||
if (!IsObjectValueInCompartment(v, compartment()))
|
||||
MOZ_CRASH("compartment mismatch");
|
||||
if (!AtomIsMarked(zoneFromAnyThread(), v))
|
||||
MOZ_CRASH("AtomIsMarked failed");
|
||||
MOZ_ASSERT(IsObjectValueInCompartment(v, compartment()));
|
||||
MOZ_ASSERT(AtomIsMarked(zoneFromAnyThread(), v));
|
||||
}
|
||||
|
||||
MOZ_ALWAYS_INLINE void setSlot(uint32_t slot, const Value& value) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue