Remove InitTacer. Pointless for JSRuntime.

This commit is contained in:
Andreas Gal 2008-06-03 17:04:42 -07:00
parent d78d723aeb
commit 8b6c4d02c6
3 changed files with 0 additions and 9 deletions

View File

@ -778,8 +778,6 @@ JS_NewRuntime(uint32 maxbytes)
#endif
if (!js_InitPropertyTree(rt))
goto bad;
if (!js_InitTracer(rt))
goto bad;
return rt;
bad:

View File

@ -40,12 +40,6 @@
#include "jsinterp.cpp"
JSBool
js_InitTracer(JSRuntime *rt)
{
return JS_TRUE;
}
uint32
js_AllocateLoopTableSlot(JSRuntime *rt)
{

View File

@ -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);