Closed Bug 818960 Opened 13 years ago Closed 13 years ago

BaselineCompiler: Add baseline-specific spew

Categories

(Core :: JavaScript Engine, defect)

17 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: djvj, Unassigned)

References

Details

Attachments

(1 file)

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.
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 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+
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
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.

Attachment

General

Created:
Updated:
Size: