mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 786339 - Remove two implicit conversions from NULL to false in the JS code; r=luke
This commit is contained in:
parent
b60c0f6f5c
commit
36a43871f4
@ -335,7 +335,7 @@ frontend::CompileFunctionBody(JSContext *cx, HandleFunction fun, CompileOptions
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (!NameFunctions(cx, pn))
|
if (!NameFunctions(cx, pn))
|
||||||
return NULL;
|
return false;
|
||||||
|
|
||||||
if (fn->pn_body) {
|
if (fn->pn_body) {
|
||||||
JS_ASSERT(fn->pn_body->isKind(PNK_ARGSBODY));
|
JS_ASSERT(fn->pn_body->isKind(PNK_ARGSBODY));
|
||||||
|
@ -1139,7 +1139,7 @@ ContextStack::saveFrameChain()
|
|||||||
{
|
{
|
||||||
bool pushedSeg;
|
bool pushedSeg;
|
||||||
if (!ensureOnTop(cx_, REPORT_ERROR, 0, CANT_EXTEND, &pushedSeg))
|
if (!ensureOnTop(cx_, REPORT_ERROR, 0, CANT_EXTEND, &pushedSeg))
|
||||||
return NULL;
|
return false;
|
||||||
|
|
||||||
JS_ASSERT(pushedSeg);
|
JS_ASSERT(pushedSeg);
|
||||||
JS_ASSERT(!hasfp());
|
JS_ASSERT(!hasfp());
|
||||||
|
Loading…
Reference in New Issue
Block a user