mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
cbe1e66b05
A number of side-tables exist that are keyed by JSScript pointers. This patch moves the tracing and finalization of these from JSScript to BaseScript to support combining LazyScript/JSScript GC arena. This patch eliminates the LazyScript and JSScript finalize method specializations. A BaseScript::hasBytecode() method is added to determine if a BaseScript was a JSScript that was successfully compiled with bytecode. Only these scripts may be used as keys in side-tables so we check this in finalize methods. A down-cast to JSScript is used once again to avoid rewriting all the accessor methods yet. Depends on D58303 Differential Revision: https://phabricator.services.mozilla.com/D58304 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
ductwork/debugger | ||
examples | ||
ipc | ||
public | ||
rust | ||
src | ||
xpconnect | ||
app.mozbuild | ||
ffi.configure | ||
moz.build | ||
moz.configure | ||
sub.configure |