Closed Bug 1760333 Opened 3 years ago Closed 3 years ago

Add dump function to CompilationInput.

Categories

(Core :: JavaScript Engine, task, P5)

task

Tracking

()

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: nbp, Assigned: nbp)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This is helpful when comparing differences between on-demand, full-parse and concurrent delazification.

This patch adds the ability to dump most of the content of CompilationInput.

To avoid adding extra dependencies in CompileOptions.h, a method named
dumpWith is added, and uses a template parameter to let the caller implement
what has to be done for each fields, with the expectation that C++ overloading
would be used to distinguish between the various types.

Pushed by npierron@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f76d219e3ee3 Add CompilationInput::dump function. r=arai
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: