Move ScopeCreationData into js::frontend namespace
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: mgaudet, Assigned: robert.m.rico, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [lang=c++])
Attachments
(1 file, 1 obsolete file)
This is a cleanup item related to Bug 1592102. When we landed ScopeCreationData
it was in the js::
namespace. However, it ought to be moved to the js::frontend::
namespace to better reflect how it is used.
This Bug Is Done When:
ScopeCreationData
is in the js::frontend::
namespace, and Spidermonkey compiles, and the tests pass.
Prerequisites
Before getting started, you'll want to
- You Have a checkout of the Firefox source code
- Read this walkthrough about how development works in Firefox
- Make sure you can build SpiderMonkey
Getting Help
Feel free to leave comments on this bug for questions, or, if you have more synchronous questions about this bug, feel free to drop into #jsapi on irc.mozilla.org.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
Definitely feel free to produce a patch. We tend not to assign bugs until that point, just in case things happen and a contributor isn't able to get through it.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Backed out for bustages on Stencil.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/3f9ac70e53fa6518dd7c6aa6c6066703e1637a9a
Log link: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=284887187&repo=autoland&lineNumber=5139
If I qualify AbstractScope
and GCMarker
in the friend declaration with the js::
nested name specifier will that resolve it?
class ScopeCreationData {
friend class AbstractScope;
friend class GCMarker;
...
to
class ScopeCreationData {
friend class js::AbstractScope;
friend class js::GCMarker;
...
(In reply to Rob from comment #7)
If I qualify
AbstractScope
andGCMarker
in the friend declaration with thejs::frontend
nested name specifier will that resolve it?
class ScopeCreationData {
friend class AbstractScope;
friend class GCMarker;
...
to
class ScopeCreationData {
friend class js::frontend::AbstractScope;
friend class js::frontend::GCMarker;
...
AbstractScope and GCMaker are part of the js::frontend
namespace. Changing above to.
Suggests maybe adding
frontend::
instead of js::frontend::
Thoughts?
Reporter | ||
Comment 10•5 years ago
|
||
Interesting; I didn't catch this with our try build because I didn't run the windows jobs.
AbstractScope and GCMarker are just part of the js:: namespace.
I guess we should try friend class js::{AbstractScope,GCMarker}
.
If you update the diff, I'll do a try push for you.
Reporter | ||
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Description
•