Closed
Bug 1849336
Opened 1 year ago
Closed 1 year ago
Combine SrcNoteType::StepSep with SrcNoteType::Breakpoint
Categories
(Core :: JavaScript Engine, task, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
SrcNoteType::StepSep
and SrcNoteType::Breakpoint
are emitted at the same time:
bool BytecodeEmitter::markStepBreakpoint() {
...
if (!newSrcNote(SrcNoteType::StepSep)) {
...
if (!newSrcNote(SrcNoteType::Breakpoint)) {
and the only consumer of SrcNoteType::StepSep
is the following, where SrcNoteType::Breakpoint
is also handled.
} else if (type == SrcNoteType::Breakpoint) {
isBreakpoint = true;
lastLinePC = snpc;
} else if (type == SrcNoteType::StepSep) {
seenStepSeparator = true;
lastLinePC = snpc;
}
Assignee | ||
Comment 1•1 year ago
|
||
SrcNoteType::StepStep is always followed by SrcNoteType::Breakpoint,
and there's no need to emit them separately.
Depends on D186918
Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/2518234cf015
Replace SrcNoteType::StepStep + SrcNoteType::Breakpoint with combined SrcNoteType::BreakpointStepStep. r=bthrall
Comment 3•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
•