Bug 589746: omit calls to spew functions in non-spew opt builds, r=dmandelin

--HG--
extra : rebase_source : d40c71dbe9c5ddab5fb4a6e280e6361afa54b3af
This commit is contained in:
Jan de Mooij 2010-08-23 15:26:19 -07:00
parent 6a9e3be674
commit c393971c70

View File

@ -135,10 +135,12 @@ class PICStubCompiler
protected:
void spew(const char *event, const char *op)
{
#ifdef JS_METHODJIT_SPEW
JaegerSpew(JSpew_PICs, "%s %s: %s (%s: %d)\n",
type, event, op, script->filename,
js_FramePCToLineNumber(f.cx, f.fp()));
}
#endif
};
class PICRepatchBuffer : public JSC::RepatchBuffer