mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
InitProp: Fix dynamic slot index. (Bug 743096, r=sstangl)
This commit is contained in:
parent
21ddb82135
commit
6827b8da3a
@ -2867,7 +2867,7 @@ IonBuilder::jsop_initprop(JSAtom *atom)
|
||||
MSlots *slots = MSlots::New(obj);
|
||||
current->add(slots);
|
||||
|
||||
MStoreSlot *store = MStoreSlot::New(slots, shape->slot(), value);
|
||||
MStoreSlot *store = MStoreSlot::New(slots, baseObj->dynamicSlotIndex(shape->slot()), value);
|
||||
current->add(store);
|
||||
return resumeAfter(store);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user