Closed
Bug 1182318
Opened 10 years ago
Closed 10 years ago
Remove |Closure| from CycleCollectedRuntime.cpp
Categories
(Core :: XPCOM, defect)
Core
XPCOM
Tracking
()
RESOLVED
FIXED
mozilla42
Tracking | Status | |
---|---|---|
firefox42 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: mccr8)
References
Details
Attachments
(2 files)
2.25 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
2.45 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
In bug 1181445 comment 20, mccr8 said:
> > // NB: This is here just to preserve the existing XPConnect order. I doubt it
> > // would hurt to do this after the JS holders.
> > TraverseAdditionalNativeRoots(aCb);
> >
> > Closure closure(&aCb);
>
> This closure can be disentangled more [...] In short: closure.mCb is aCb and
> the closure for TraceCallbackFunc can just become bool*. I just mashed
> together two different closures for convenience.
Assignee | ||
Comment 1•10 years ago
|
||
I can do this after the other bug lands and merges over.
Flags: needinfo?(continuation)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → continuation
Flags: needinfo?(continuation)
Assignee | ||
Comment 2•10 years ago
|
||
Attachment #8633500 -
Flags: review?(bugs)
Assignee | ||
Comment 3•10 years ago
|
||
Closure is now just a wrapper around a single boolean, so instead pass a pointer to the boolean.
Attachment #8633501 -
Flags: review?(bugs)
Updated•10 years ago
|
Attachment #8633500 -
Flags: review?(bugs) → review+
Updated•10 years ago
|
Attachment #8633501 -
Flags: review?(bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec877b5c90ff
https://hg.mozilla.org/integration/mozilla-inbound/rev/b397fee6cd67
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/ec877b5c90ff
https://hg.mozilla.org/mozilla-central/rev/b397fee6cd67
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox42:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla42
You need to log in
before you can comment on or make changes to this bug.
Description
•