Bug 1635987 Comment 20 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

High-level approach looks good!

It would be nice to use `EnterJITStackEntry` more directly in `generateEnterJIt` too, [especially here](https://searchfox.org/mozilla-central/rev/9ae77e4ce3378bd683ac9a86b729ea6b6bd22cb8/js/src/jit/x64/Trampoline-x64.cpp#66-94). There you can probably subtract `sizeof(EnterJITStackEntry)` from the stack pointer, and then fill in each field using `storePtr` and `offsetof(EnterJITStackEntry, foo)`.

Back to Bug 1635987 Comment 20