Closed
Bug 1764367
Opened 3 years ago
Closed 3 years ago
Stop using MachineState for Wasm stack maps
Categories
(Core :: JavaScript: WebAssembly, task, P3)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
101 Branch
Tracking | Status | |
---|---|---|
firefox101 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
Details
Attachments
(1 file)
Wasm uses MachineState
to store register offsets instead of a pointer to the register contents. We can replace this with a separate RegisterOffsets
class, this is simpler and faster, gets rid of some reinterpret_cast
s, and lets us refactor MachineState
in bug 1764366.
Assignee | ||
Comment 1•3 years ago
|
||
The goal is to stop using MachineState for this, so that we can refactor MachineState
separately for the JS use cases.
This also has some other benefits: the new RegisterOffsets type is much smaller than
MachineState, because it doesn't store any information for floating-point registers
and it stores a 32-bit offset instead of a pointer. This also gets rid of some casts.
Pushed by jdemooij@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/363d45d9ebf1
Replace use of MachineState for stack maps with a RegisterOffsets class. r=rhunt
Comment 3•3 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox101:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 101 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•