mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 554203 - remove dead code in JSOP_STOP (r=brendan)
This commit is contained in:
parent
fad4cda013
commit
c6f35044f6
@ -217,16 +217,8 @@ BEGIN_CASE(JSOP_STOP)
|
||||
}
|
||||
|
||||
JS_ASSERT(regs.sp == StackBase(fp));
|
||||
if ((fp->flags & JSFRAME_CONSTRUCTING) &&
|
||||
JSVAL_IS_PRIMITIVE(fp->rval)) {
|
||||
if (!fp->fun) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL,
|
||||
JSMSG_BAD_NEW_RESULT,
|
||||
js_ValueToPrintableString(cx, rval));
|
||||
goto error;
|
||||
}
|
||||
if ((fp->flags & JSFRAME_CONSTRUCTING) && JSVAL_IS_PRIMITIVE(fp->rval))
|
||||
fp->rval = fp->thisv;
|
||||
}
|
||||
ok = JS_TRUE;
|
||||
if (inlineCallCount)
|
||||
inline_return:
|
||||
|
Loading…
Reference in New Issue
Block a user