Closed Bug 1810891 Opened 1 year ago Closed 1 year ago

Improve docs of JIT entry

Categories

(Core :: JavaScript: WebAssembly, task, P3)

task

Tracking

()

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: rhunt, Assigned: rhunt)

Details

Attachments

(1 file)

How the JIT entry is invoked is mysterious and should be documented better.

The wasm function JIT entry relies on wasm::JumpTable jit entry table entries having
a compatible representation with BaseScript and SelfHostedLazyScript. I had to
reverse engineer this, so I've added some asserts this doesn't break and some
comments explaining this to future observers.

Pushed by rhunt@eqrion.net:
https://hg.mozilla.org/integration/autoland/rev/3c2d27ccf8ce
wasm: Add asserts and comments about how JIT entry is invoked. r=jandem
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: