mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-01 12:07:34 +09:00
1320408 - Part 15: Change NativeObject::addDataProperty to static method.
This commit is contained in:
parent
cc8cb910dd
commit
a2451c8234
6 changed files with 21 additions and 21 deletions
|
|
@ -300,7 +300,8 @@ RegExpObject::assignInitialShape(ExclusiveContext* cx, Handle<RegExpObject*> sel
|
|||
JS_STATIC_ASSERT(LAST_INDEX_SLOT == 0);
|
||||
|
||||
/* The lastIndex property alone is writable but non-configurable. */
|
||||
return self->addDataProperty(cx, cx->names().lastIndex, LAST_INDEX_SLOT, JSPROP_PERMANENT);
|
||||
return NativeObject::addDataProperty(cx, self, cx->names().lastIndex, LAST_INDEX_SLOT,
|
||||
JSPROP_PERMANENT);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue