Bug 852676 - Remove unmaintained ETW event support (r=sfink)

This commit is contained in:
Bill McCloskey
2013-03-21 18:15:39 -07:00
parent a41e529fdd
commit 06ac40166f
12 changed files with 2 additions and 833 deletions

View File

@@ -86,19 +86,6 @@ frontend::CompileScript(JSContext *cx, HandleObject scopeChain,
{
RootedString source(cx, source_);
class ProbesManager
{
const char* filename;
unsigned lineno;
public:
ProbesManager(const char *f, unsigned l) : filename(f), lineno(l) {
Probes::compileScriptBegin(filename, lineno);
}
~ProbesManager() { Probes::compileScriptEnd(filename, lineno); }
};
ProbesManager probesManager(options.filename, options.lineno);
/*
* The scripted callerFrame can only be given for compile-and-go scripts
* and non-zero static level requires callerFrame.