mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fixed GCC complaints (recursion fallout 3, yay).
This commit is contained in:
parent
daf2e31aac
commit
560cc2ef8c
@ -167,7 +167,7 @@ js_TryUnboxInt32(jsval v, int32* i32p)
|
||||
*i32p = i;
|
||||
return JS_TRUE;
|
||||
}
|
||||
JS_DEFINE_CALLINFO_2(extern, BOOL, js_TryUnboxInt32, JSVAL, INT32PTR, 1, 1);
|
||||
JS_DEFINE_CALLINFO_2(extern, BOOL, js_TryUnboxInt32, JSVAL, INT32PTR, 1, 1)
|
||||
|
||||
int32 FASTCALL
|
||||
js_DoubleToInt32(jsdouble d)
|
||||
|
@ -213,7 +213,7 @@ TraceRecorder::upRecursion()
|
||||
exit);
|
||||
}
|
||||
|
||||
debug_only_printf(LC_TMRecorder, "guardUpRecursive fragment->root=%p fi=%p\n", fragment->root, fi);
|
||||
debug_only_printf(LC_TMRecorder, "guardUpRecursive fragment->root=%p fi=%p\n", (void*)fragment->root, (void*)fi);
|
||||
|
||||
/* Guard that the FrameInfo above is the same FrameInfo pointer. */
|
||||
VMSideExit* exit = snapshot(RECURSIVE_MISMATCH_EXIT);
|
||||
@ -486,7 +486,7 @@ TraceRecorder::slurpDownFrames(jsbytecode* return_pc)
|
||||
exit->exitType = UNSTABLE_LOOP_EXIT;
|
||||
else
|
||||
exit->exitType = RECURSIVE_UNLINKED_EXIT;
|
||||
debug_only_printf(LC_TMTreeVis, "TREEVIS CHANGEEXIT EXIT=%p TYPE=%s\n", exit,
|
||||
debug_only_printf(LC_TMTreeVis, "TREEVIS CHANGEEXIT EXIT=%p TYPE=%s\n", (void*)exit,
|
||||
getExitName(exit->exitType));
|
||||
JS_ASSERT(treeInfo->recursion >= Recursion_Unwinds);
|
||||
return closeLoop(slotMap, exit);
|
||||
|
@ -6627,7 +6627,7 @@ LeaveTree(InterpState& state, VMSideExit* lr)
|
||||
js_FramePCToLineNumber(cx, fp),
|
||||
FramePCOffset(fp),
|
||||
slots,
|
||||
*callstack);
|
||||
(void*)*callstack);
|
||||
#endif
|
||||
/*
|
||||
* Keep track of the additional frames we put on the interpreter stack
|
||||
@ -12078,7 +12078,7 @@ TraceRecorder::interpretedFunctionCall(jsval& fval, JSFunction* fun, uintN argc,
|
||||
lir->insStorei(INS_CONSTPTR(fi), lirbuf->rp, callDepth * sizeof(FrameInfo*));
|
||||
|
||||
#if defined JS_JIT_SPEW
|
||||
debug_only_printf(LC_TMTracer, "iFC frameinfo=%p, stack=%d, map=", fi,
|
||||
debug_only_printf(LC_TMTracer, "iFC frameinfo=%p, stack=%d, map=", (void*)fi,
|
||||
fi->callerHeight);
|
||||
for (unsigned i = 0; i < fi->callerHeight; i++)
|
||||
debug_only_printf(LC_TMTracer, "%c", typeChar[fi->get_typemap()[i]]);
|
||||
|
Loading…
Reference in New Issue
Block a user