Closed
Bug 1591575
Opened 5 years ago
Closed 5 years ago
Use BaseScript accessors in js/src/debugger/Script.cpp
Categories
(Core :: JavaScript Engine, enhancement, P2)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1615710
People
(Reporter: tcampbell, Unassigned)
References
Details
In js/src/debugger/Script.cpp we have still have code that branches on JSScript and LazyScript. Instead, we should use things like getReferentScript()
to get the BaseScript and have a simpler access.
For the scope of this bug, look for calls to ensureScriptMaybeLazy()
and use getReferentScript()
when possible.
This will remove places that the debugger distinguishes between lazy and non-lazy scripts and makes it simpler to unify the two types.
Reporter | ||
Comment 1•5 years ago
|
||
These concerns are generally all addressed by Bug 1615710 which changes the DebuggerScriptVariant.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•