Move stencil-related XDR logic from Xdr.cpp into StencilXdr.cpp
Categories
(Core :: JavaScript Engine, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(12 files, 1 obsolete file)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
before working on bug 1693184, it's better gathering "buffer structure"-related code into single place.
Currently header and ParserAtomTable
code is written in Xdr.cpp, and CompilationStencil
code is written in StencilXdr.cpp.
After bug 1687095, the buffer structure is simple that there's one header (version, source), one ParserAtomTable, and one remaining CompilationStencil fields,
and it means it's just version + whole CompilationStencil
.
Inlining header function and XDRCompilationStencil
function will simplify the structure hierarchy inside code.
And that lets us adding markers in bug 1693184 cleanly.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Depends on D105910
Assignee | ||
Comment 2•5 years ago
|
||
Subsequent patches move other XDR functions into StencilXDR.
To avoid name collision between method and type name, prepend code
to method.
Also reorder to match the field order.
Depends on D105911
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D105912
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D105913
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D105914
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D105915
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D105916
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D105917
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D105918
Assignee | ||
Comment 10•5 years ago
|
||
Now the header and CompilationStencil are encoded into the same buffer,
and the alignment padding isn't necessary.
Depends on D105919
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D105920
Assignee | ||
Comment 12•5 years ago
|
||
Depends on D105921
Assignee | ||
Comment 13•5 years ago
|
||
Depends on D105922
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 14•4 years ago
|
||
Comment 15•4 years ago
|
||
Backout info: https://bugzilla.mozilla.org/show_bug.cgi?id=1693184#c4
Updated•4 years ago
|
Comment 16•4 years ago
|
||
Comment 17•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d25a0b774152
https://hg.mozilla.org/mozilla-central/rev/e43244daf953
https://hg.mozilla.org/mozilla-central/rev/4482d794a4da
https://hg.mozilla.org/mozilla-central/rev/68823de0b29d
https://hg.mozilla.org/mozilla-central/rev/a435c1f3dfaa
https://hg.mozilla.org/mozilla-central/rev/a4994838b654
https://hg.mozilla.org/mozilla-central/rev/5ce159cb3ccb
https://hg.mozilla.org/mozilla-central/rev/5b208e65863b
https://hg.mozilla.org/mozilla-central/rev/35608d119e96
https://hg.mozilla.org/mozilla-central/rev/1205a7afc825
https://hg.mozilla.org/mozilla-central/rev/144d29ce8c6a
https://hg.mozilla.org/mozilla-central/rev/de28c772a038
Description
•