Closed
Bug 818960
Opened 13 years ago
Closed 13 years ago
BaselineCompiler: Add baseline-specific spew
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: djvj, Unassigned)
References
Details
Attachments
(1 file)
8.53 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
Debugging baseline spew is difficult right now since the only spew flags are those reused from Ion. Add a new set of baseline spew flags and change baseline compiler to use them.
Reporter | ||
Comment 1•13 years ago
|
||
Adds following channels:
BaselineAbort - for compile-time aborts in baseline
BaselineCompile - for compile-time messages
BaselineOp - for compile-time verbose op-specific messages
BaselineIC - for compile-time IC-related messages.
BaselineICFallback - for runtime IC "slowpath" messages
Channels enable by IONSPEW=
bl-abort
bl-compile
bl-op
bl-ic
bl-ic-fb
Attachment #689262 -
Flags: review?(jdemooij)
Comment 2•13 years ago
|
||
Comment on attachment 689262 [details] [diff] [review]
Add baseline-specific spew channels.
Review of attachment 689262 [details] [diff] [review]:
-----------------------------------------------------------------
::: js/src/ion/BaselineCompiler.cpp
@@ +42,5 @@
>
> MethodStatus
> BaselineCompiler::compile()
> {
> + IonSpew(IonSpew_BaselineCompile, "Baseline compiling script %s:%d (%p)",
I use IONFLAGS=scripts,aborts a lot, so printing scripts to a separate channel would be nice.
Attachment #689262 -
Flags: review?(jdemooij) → review+
Reporter | ||
Comment 3•13 years ago
|
||
Changed IonSpew_BaselineCompile back to IonSpew_BaselineScripts, as per review.
Also changed "bl-abort" to "bl-aborts" to mimic Ion's convention.
Pushed: https://hg.mozilla.org/projects/ionmonkey/rev/d9327faa1694
Reporter | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•