Closed
Bug 752121
Opened 13 years ago
Closed 13 years ago
IonMonkey: Disable C1/JSON Spewers in debug builds
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: dvander, Assigned: dvander)
References
Details
Attachments
(1 file, 1 obsolete file)
3.76 KB,
patch
|
sstangl
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #622981 -
Flags: review?
Assignee | ||
Updated•13 years ago
|
Attachment #622981 -
Flags: review? → review?(sstangl)
Assignee | ||
Comment 2•13 years ago
|
||
This patch enables ion.cfg/ion.json logging in the shell, but disables it in the browser. You can get it back in the browser by setting IONFLAGS to any of its options.
Comment 3•13 years ago
|
||
Comment on attachment 622981 [details] [diff] [review]
fix
Review of attachment 622981 [details] [diff] [review]:
-----------------------------------------------------------------
The patch is fine, but it doesn't disable spew for the browser: IonSpewNewFunction(), at the top of TestCompiler(), will call the init() function anyway. That needs to be changed to check against inited_, and EnableIonDebugLogging() should be the sole caller of init().
I think this patch should actually go further and disable spew in the shell by default also. That would let the testsuite run more quickly, and will give us less of a surprise on long-running (emscripten) tests where JSON files of hundreds of megabytes are silently built.
Attachment #622981 -
Flags: review?(sstangl)
Assignee | ||
Comment 4•13 years ago
|
||
Good catch - I agree, let's disable in the shell too. IONFLAGS=logs gets it back.
Attachment #622981 -
Attachment is obsolete: true
Attachment #623366 -
Flags: review?(sstangl)
Comment 5•13 years ago
|
||
Comment on attachment 623366 [details] [diff] [review]
v2
Review of attachment 623366 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/shell/js.cpp
@@ +101,5 @@
> #include "jsinterpinlines.h"
> #include "jsobjinlines.h"
> #include "jsscriptinlines.h"
> #include "ion/Ion.h"
> +#include "ion/IonSpewer.h"
Not needed anymore :)
Attachment #623366 -
Flags: review?(sstangl) → review+
Assignee | ||
Comment 6•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•