Closed
Bug 1456220
Opened 7 years ago
Closed 3 years ago
Refactor CompileOptions/Compile* APIs to simplify caching or offthread
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: tcampbell, Unassigned)
References
(Blocks 1 open bug)
Details
The current Compile* APIs are not very friendly for things like off-thread parse or XDR operations. I'd like to restructure them into a clearer CompileRequest / BytecodeResponse (names as an example only) form.
CompileOptions currently mixes the three concerns of source data, bytecode generation flags, and debugger metadata. I believe these should be broken down into different structs.
One desired outcome is to support off-thread parsing of UTF-8 data and BinAST inputs without the need to keep cloning current APIs and ParseTasks for every combination.
Another desired outcome is to have a clearer record of what source information and options was used to generate a given XDR blob to make cacheing code less scary.
Reporter | ||
Comment 3•3 years ago
|
||
This effort was made obsolete by stencil efforts.
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(tcampbell)
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•