Swap frame pointer and stub pointer in BaselineStub frames
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox103 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(3 files)
We currently push the return address, stub pointer and caller frame pointer. For external stack unwinders it would be less confusing if we switched the last two.
This also gets us closer to adding the caller frame pointer to the CommonFrameLayout
.
Assignee | ||
Comment 1•2 years ago
|
||
This is more consistent with what we do for the other frame types.
Assignee | ||
Comment 2•2 years ago
|
||
This was added for the old shared-stubs mechanism for Ion stubs.
Depends on D148777
Assignee | ||
Comment 3•2 years ago
|
||
The frame pointer is now pushed immediately after the return address, to help
native stack unwinders.
The main problem here was that STUB_FRAME_SIZE
now has to be split in StubFrameSize
and
StubFrameSizeFromFP
because the latter now doesn't have to skip the stub pointer.
Depends on D148778
Comment 5•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bf7b37cb46c2
https://hg.mozilla.org/mozilla-central/rev/9b3a441d5bd1
https://hg.mozilla.org/mozilla-central/rev/c355076e750f
Description
•