mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-03 04:57:31 +09:00
Issue #1257 - Part 2: Remove watch/unwatch and JS watchpoint class.
This commit is contained in:
parent
3b9fbdc71d
commit
ca9e376e55
25 changed files with 65 additions and 677 deletions
|
|
@ -4053,9 +4053,6 @@ TryAttachSetValuePropStub(JSContext* cx, HandleScript script, jsbytecode* pc, IC
|
|||
{
|
||||
MOZ_ASSERT(!*attached);
|
||||
|
||||
if (obj->watched())
|
||||
return true;
|
||||
|
||||
RootedShape shape(cx);
|
||||
RootedObject holder(cx);
|
||||
if (!EffectlesslyLookupProperty(cx, obj, id, &holder, &shape))
|
||||
|
|
@ -4151,9 +4148,6 @@ TryAttachSetAccessorPropStub(JSContext* cx, HandleScript script, jsbytecode* pc,
|
|||
MOZ_ASSERT(!*attached);
|
||||
MOZ_ASSERT(!*isTemporarilyUnoptimizable);
|
||||
|
||||
if (obj->watched())
|
||||
return true;
|
||||
|
||||
RootedShape shape(cx);
|
||||
RootedObject holder(cx);
|
||||
if (!EffectlesslyLookupProperty(cx, obj, id, &holder, &shape))
|
||||
|
|
|
|||
|
|
@ -3232,7 +3232,7 @@ SetPropertyIC::tryAttachStub(JSContext* cx, HandleScript outerScript, IonScript*
|
|||
MOZ_ASSERT(!*emitted);
|
||||
MOZ_ASSERT(!*tryNativeAddSlot);
|
||||
|
||||
if (!canAttachStub() || obj->watched())
|
||||
if (!canAttachStub())
|
||||
return true;
|
||||
|
||||
// Fail cache emission if the object is frozen
|
||||
|
|
@ -3897,9 +3897,6 @@ IsDenseElementSetInlineable(JSObject* obj, const Value& idval, const ConstantOrR
|
|||
if (!obj->is<ArrayObject>())
|
||||
return false;
|
||||
|
||||
if (obj->watched())
|
||||
return false;
|
||||
|
||||
if (!idval.isInt32())
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue