Closed Bug 720067 Opened 8 years ago Closed 8 years ago

re-merge StackSpace.h with Stack.h, extract gc/Root.h

Categories

(Core :: JavaScript Engine, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: luke, Assigned: luke)

Details

Attachments

(1 file)

For lame INSTALLED_HEADER reasons (which were graciously fixed by Ms2ger in bug 677079), StackSpace was split off from Stack.h.  This patch puts them back together.  In the meantime, a cyclic dependency emerged (jscntxt -> Stack -> jsfun -> jsscript -> jsscope -> jscntxt (to get js::Root)).  The fix, which seems good even by itself, is to hoist js::Root and kin (and the nice comment) into gc/Root.h (analogous to gc/Barrier.h).
Attachment #590418 - Flags: review?(bhackett1024)
Attachment #590418 - Flags: review?(bhackett1024) → review+
https://hg.mozilla.org/mozilla-central/rev/1023b9920a8d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.