Closed
Bug 1849319
Opened 1 year ago
Closed 1 year ago
Remove SrcNoteType::Null
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The end of source notes is always known and there's no need to use dedicate type for terminator.
Assignee | ||
Comment 1•1 year ago
|
||
actually, this was wrong. the end of source notes pointed by ImmutableScriptData::noteLength
includes the padding, which is filled by Null
.
So we still need some kind of padding byte, while we could remove a case where whole 32-bits are filled by padding if there's other way to fill the padding.
Assignee | ||
Comment 2•1 year ago
|
||
XDelta
with 0
could be used as padding.
Assignee | ||
Comment 3•1 year ago
|
||
Use SrcNoteType::XDelta with ext-delta == 0
as terminator instead.
Also remove the 4-bytes padding at the end of source notes array.
Depends on D186917
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/cc02e5f4ed22
Remove SrcNoteType::Null. r=bthrall
Comment 5•1 year ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•