mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Oops, not enough copying...
This commit is contained in:
parent
510ec8bdce
commit
4842b435c5
@ -3576,7 +3576,8 @@ bool
|
||||
TraceRecorder::record_JSOP_NEW()
|
||||
{
|
||||
/* Get immediate argc and find the constructor function. */
|
||||
unsigned argc = GET_ARGC(cx->fp->regs->pc);
|
||||
jsbytecode *pc = cx->fp->regs->pc;
|
||||
unsigned argc = GET_ARGC(pc);
|
||||
jsval& fval = stackval(0 - (2 + argc));
|
||||
JS_ASSERT(&fval >= StackBase(cx->fp));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user