mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 380197: fixing regression from bug 380197. r=brendan
This commit is contained in:
parent
116c18b96c
commit
8d62745af4
@ -1719,6 +1719,12 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
if (nb < 0 && -(nb + 1) == (intN)ss->top - cs->nuses + cs->ndefs)
|
||||
return pc;
|
||||
|
||||
/*
|
||||
* Save source literal associated with JS now before the following
|
||||
* rewrite changes op. See bug 380197.
|
||||
*/
|
||||
token = CodeToken[op];
|
||||
|
||||
if (pc + oplen == jp->dvgfence) {
|
||||
JSStackFrame *fp;
|
||||
uint32 format, mode, type;
|
||||
@ -1818,7 +1824,6 @@ Decompile(SprintStack *ss, jsbytecode *pc, intN nb)
|
||||
jp->dvgfence = NULL;
|
||||
}
|
||||
|
||||
token = CodeToken[op];
|
||||
if (token) {
|
||||
switch (cs->nuses) {
|
||||
case 2:
|
||||
|
Loading…
Reference in New Issue
Block a user