Closed Bug 1700990 Opened 4 years ago Closed 4 years ago

Fix frame descriptor for the entry frame

Categories

(Core :: JavaScript Engine: JIT, task, P3)

task

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: jandem, Assigned: jandem)

References

Details

Attachments

(1 file)

We construct this frame descriptor incorrectly in generateEnterJIT: the descriptor's frame size shouldn't include the numActualArgs and calleeToken of the JitFrameLayout as they are already included in the 'header size'.

This doesn't affect anything today, but it will simplify the profiler changes in bug 1700869.

The descriptor's frame size shouldn't include the numActualArgs and calleeToken of
the JitFrameLayout because these fields are already included in the 'header size'.

Change the trampolines to create the frame descriptor before pushing the JitFrameLayout.
This is consistent with how we do this for non-entry frames.

This doesn't affect anything yet, but it will simplify the profiler changes in
bug 1700869.

Attachment #9211542 - Attachment description: Bug 1700990 - Correctly construct the frame descriptor for the entry frame. r?nbp! → Bug 1700990 - Fix frame descriptor for the entry frame. r?nbp!
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adad444082d2 Fix frame descriptor for the entry frame. r=nbp
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: