mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
No bug - Always initialize DoUseCountFallback out-param. r=djvj on IRC
This commit is contained in:
parent
9f9a4e5985
commit
28cdede9c8
@ -727,13 +727,13 @@ static bool
|
|||||||
DoUseCountFallback(JSContext *cx, ICUseCount_Fallback *stub, BaselineFrame *frame,
|
DoUseCountFallback(JSContext *cx, ICUseCount_Fallback *stub, BaselineFrame *frame,
|
||||||
IonOsrTempData **infoPtr)
|
IonOsrTempData **infoPtr)
|
||||||
{
|
{
|
||||||
|
JS_ASSERT(infoPtr);
|
||||||
|
*infoPtr = NULL;
|
||||||
|
|
||||||
// A TI OOM will disable TI and Ion.
|
// A TI OOM will disable TI and Ion.
|
||||||
if (!ion::IsEnabled(cx))
|
if (!ion::IsEnabled(cx))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
JS_ASSERT(infoPtr);
|
|
||||||
*infoPtr = NULL;
|
|
||||||
|
|
||||||
RootedScript script(cx, frame->script());
|
RootedScript script(cx, frame->script());
|
||||||
jsbytecode *pc = stub->icEntry()->pc(script);
|
jsbytecode *pc = stub->icEntry()->pc(script);
|
||||||
bool isLoopEntry = JSOp(*pc) == JSOP_LOOPENTRY;
|
bool isLoopEntry = JSOp(*pc) == JSOP_LOOPENTRY;
|
||||||
|
Loading…
Reference in New Issue
Block a user