зеркало из https://github.com/mozilla/gecko-dev.git
Bug 929151 - JS_ASSERT(good), not JS_ASSERT(bad). r=bustage
--HG-- extra : rebase_source : dea0a9dfc214449e56d6e69defb4f80ca5ebecc9
This commit is contained in:
Родитель
2570f19e4d
Коммит
8d3ec131cc
|
@ -1620,7 +1620,7 @@ EmptyShape::insertInitialShape(ExclusiveContext *cx, HandleShape shape, HandleOb
|
|||
|
||||
/* Bug 929547 - we do not rekey based on metadata object moves */
|
||||
JSObject *metadata = shape->getObjectMetadata();
|
||||
JS_ASSERT_IF(metadata, gc::IsInsideNursery(cx->compartment()->runtimeFromAnyThread(), metadata));
|
||||
JS_ASSERT_IF(metadata, !gc::IsInsideNursery(cx->compartment()->runtimeFromAnyThread(), metadata));
|
||||
|
||||
InitialShapeSet::Ptr p = cx->compartment()->initialShapes.lookup(lookup);
|
||||
JS_ASSERT(p);
|
||||
|
|
Загрузка…
Ссылка в новой задаче