Closed
Bug 1566434
Opened 5 years ago
Closed 5 years ago
Assert there's a unique entry for pc + kind in BaselineScript::retAddrEntryFromPCOffset
Categories
(Core :: JavaScript Engine: JIT, task, P1)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(2 files)
We really don't want to find duplicates there and should assert against this.
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(jdemooij)
Assignee | ||
Comment 1•5 years ago
|
||
Actually it's probably simpler and better to assert this in the compiler; the sooner we fail the better.
Assignee | ||
Comment 2•5 years ago
|
||
This is nicer and will make it easier to assert RetAddrEntry invariants in
appendRetAddrEntry in the next patch.
Assignee | ||
Comment 3•5 years ago
|
||
(In reply to Jan de Mooij [:jandem] from comment #1)
Actually it's probably simpler and better to assert this in the compiler; the sooner we fail the better.
While biking last night it occurred to me this doesn't work because the invariant only holds for the callVMs (or bytecode ops) that can trigger DebugOSR. Oh well.
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(jdemooij)
Updated•5 years ago
|
Priority: -- → P1
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bdb913e6361e part 1 - Remove markLastRetAddrKind in BaselineCodeGen, use the correct Kind from the start. r=iain https://hg.mozilla.org/integration/autoland/rev/08fa2abfae88 part 2 - Add more RetAddrEntry assertions. r=iain
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bdb913e6361e
https://hg.mozilla.org/mozilla-central/rev/08fa2abfae88
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in
before you can comment on or make changes to this bug.
Description
•