mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Remove InitTacer. Pointless for JSRuntime.
This commit is contained in:
parent
d78d723aeb
commit
8b6c4d02c6
@ -778,8 +778,6 @@ JS_NewRuntime(uint32 maxbytes)
|
||||
#endif
|
||||
if (!js_InitPropertyTree(rt))
|
||||
goto bad;
|
||||
if (!js_InitTracer(rt))
|
||||
goto bad;
|
||||
return rt;
|
||||
|
||||
bad:
|
||||
|
@ -40,12 +40,6 @@
|
||||
|
||||
#include "jsinterp.cpp"
|
||||
|
||||
JSBool
|
||||
js_InitTracer(JSRuntime *rt)
|
||||
{
|
||||
return JS_TRUE;
|
||||
}
|
||||
|
||||
uint32
|
||||
js_AllocateLoopTableSlot(JSRuntime *rt)
|
||||
{
|
||||
|
@ -61,7 +61,6 @@ struct JSTraceMonitor {
|
||||
|
||||
#define TRACE_THRESHOLD 10
|
||||
|
||||
JSBool js_InitTracer(JSRuntime *rt);
|
||||
uint32 js_AllocateLoopTableSlot(JSRuntime *rt);
|
||||
void js_FreeLoopTableSlot(JSRuntime *rt, uint32 slot);
|
||||
JSBool js_GrowLoopTable(JSContext *cx, uint32 index);
|
||||
|
Loading…
Reference in New Issue
Block a user