mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 482743: Compute opcode stack usage correctly. r=igor
This commit is contained in:
parent
02252a653d
commit
b34fbbe457
@ -2105,7 +2105,7 @@ js_TraceOpcode(JSContext *cx)
|
||||
regs->pc - fp->script->code,
|
||||
JS_FALSE, tracefp);
|
||||
op = (JSOp) *regs->pc;
|
||||
nuses = js_CodeSpec[op].nuses;
|
||||
nuses = js_GetStackUses(&js_CodeSpec[op], op, regs->pc);
|
||||
if (nuses != 0) {
|
||||
for (n = -nuses; n < 0; n++) {
|
||||
char *bytes = js_DecompileValueGenerator(cx, n, regs->sp[n],
|
||||
|
Loading…
Reference in New Issue
Block a user