mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix regression from 426b1244fbf6. rval needs to be set for the ending primtive conversion block to work correctly.
This commit is contained in:
parent
efe77133ba
commit
2dbeb42aff
@ -1773,9 +1773,7 @@ BEGIN_CASE(JSOP_CALLPROP)
|
||||
if (!atom) {
|
||||
ASSERT_VALID_PROPERTY_CACHE_HIT(0, aobj, obj2, entry);
|
||||
if (entry->vword.isFunObj()) {
|
||||
regs.sp[-1].setFunObj(entry->vword.toFunObj());
|
||||
PUSH_COPY(lval);
|
||||
goto end_callprop;
|
||||
rval.setFunObj(entry->vword.toFunObj());
|
||||
} else if (entry->vword.isSlot()) {
|
||||
uint32 slot = entry->vword.toSlot();
|
||||
JS_ASSERT(slot < obj2->scope()->freeslot);
|
||||
|
Loading…
Reference in New Issue
Block a user