mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 456931 - TM: GVAR op record methods use wrong object (r=gal).
This commit is contained in:
parent
86b3bc3671
commit
3238fa4180
@ -6133,7 +6133,7 @@ TraceRecorder::record_JSOP_GETGVAR()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
stack(0, get(&STOBJ_GET_SLOT(cx->fp->scopeChain, slot)));
|
stack(0, get(&STOBJ_GET_SLOT(globalObj, slot)));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6149,7 +6149,7 @@ TraceRecorder::record_JSOP_SETGVAR()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
set(&STOBJ_GET_SLOT(cx->fp->scopeChain, slot), stack(-1));
|
set(&STOBJ_GET_SLOT(globalObj, slot), stack(-1));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -6165,7 +6165,7 @@ TraceRecorder::record_JSOP_INCGVAR()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
return inc(STOBJ_GET_SLOT(cx->fp->scopeChain, slot), 1);
|
return inc(STOBJ_GET_SLOT(globalObj, slot), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -6180,7 +6180,7 @@ TraceRecorder::record_JSOP_DECGVAR()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
return inc(STOBJ_GET_SLOT(cx->fp->scopeChain, slot), -1);
|
return inc(STOBJ_GET_SLOT(globalObj, slot), -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -6195,7 +6195,7 @@ TraceRecorder::record_JSOP_GVARINC()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
return inc(STOBJ_GET_SLOT(cx->fp->scopeChain, slot), 1, false);
|
return inc(STOBJ_GET_SLOT(globalObj, slot), 1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
@ -6210,7 +6210,7 @@ TraceRecorder::record_JSOP_GVARDEC()
|
|||||||
if (!lazilyImportGlobalSlot(slot))
|
if (!lazilyImportGlobalSlot(slot))
|
||||||
ABORT_TRACE("lazy import of global slot failed");
|
ABORT_TRACE("lazy import of global slot failed");
|
||||||
|
|
||||||
return inc(STOBJ_GET_SLOT(cx->fp->scopeChain, slot), -1, false);
|
return inc(STOBJ_GET_SLOT(globalObj, slot), -1, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool
|
bool
|
||||||
|
Loading…
Reference in New Issue
Block a user