Closed
Bug 1604467
Opened 5 years ago
Closed 5 years ago
Remove SRC_TRY source note
Categories
(Core :: JavaScript Engine, task, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla73
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file)
This is the only source note still used by the JITs (BytecodeAnalysis and IonBuilder). I think this after-try offset should be stored as JSOP_TRY operand instead and then JIT compilation never needs to look up source notes, which seems nice.
We can then remove IonBuilder::gsn and the gsnCache in BytecodeAnalysis::init.
Updated•5 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•5 years ago
|
||
JIT compilation and bytecode analysis now no longer depend on any source notes.
The deleted code to print the offset-to-catch in Disassemble1 goes back to
bug 680228, before the newer code coverage implementation. It's unlikely that
anyone is still depending on this and it's also confusing to print an offset
in the bytecode disassembly that's not actually an operand.
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a590ca97f139
Replace SRC_TRY source note with a JSOP_TRY bytecode operand. r=tcampbell
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in
before you can comment on or make changes to this bug.
Description
•