Bug 886481 - Do not display total compilation time when asm.js is successfully compiled, in a --enable-more-deterministic shell; r=luke

This commit is contained in:
Sahil Chelaramani 2013-08-07 15:10:20 -07:00
parent 8f02ad112b
commit 44efd9d681

View File

@ -1549,9 +1549,9 @@ class MOZ_STACK_CLASS ModuleCompiler
return;
}
}
#endif
out->reset(JS_smprintf("total compilation time %dms%s",
msTotal, slowFuns ? slowFuns.get() : ""));
#endif
}
bool staticallyLink(ScopedJSDeletePtr<AsmJSModule> *module, ScopedJSFreePtr<char> *report) {
@ -6293,7 +6293,7 @@ static bool
Warn(JSContext *cx, int code, const char *str)
{
return JS_ReportErrorFlagsAndNumber(cx, JSREPORT_WARNING, js_GetErrorMessage,
NULL, code, str);
NULL, code, str ? str : "");
}
extern bool