diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSWrapperObject.cpp')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSWrapperObject.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp index b6fadadb0..3853207ff 100644 --- a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp +++ b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp @@ -22,7 +22,7 @@ #include "config.h" #include "JSWrapperObject.h" -#include "JSCInlines.h" +#include "Operations.h" namespace JSC { @@ -32,6 +32,9 @@ void JSWrapperObject::visitChildren(JSCell* cell, SlotVisitor& visitor) { JSWrapperObject* thisObject = jsCast<JSWrapperObject*>(cell); ASSERT_GC_OBJECT_INHERITS(thisObject, info()); + COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag); + ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren()); + JSObject::visitChildren(thisObject, visitor); visitor.append(&thisObject->m_internalValue); } |