mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1250134 - assert mJSRuntime when IsGrayJS() is true. r=mccr8
MozReview-Commit-ID: B5046aj61jx --HG-- extra : rebase_source : 7ddc7be40030dec122643cae4d1042fe611efc2d
This commit is contained in:
parent
359d675f8f
commit
e4d1a83ade
@ -3283,6 +3283,7 @@ nsCycleCollector::CollectWhite()
|
||||
PtrInfo* pinfo = etor.GetNext();
|
||||
if (pinfo->mColor == white && pinfo->mParticipant) {
|
||||
if (pinfo->IsGrayJS()) {
|
||||
MOZ_ASSERT(mJSRuntime);
|
||||
++numWhiteGCed;
|
||||
JS::Zone* zone;
|
||||
if (MOZ_UNLIKELY(pinfo->mParticipant == zoneParticipant)) {
|
||||
|
Loading…
Reference in New Issue
Block a user