diff options
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSWrapperObject.cpp')
-rw-r--r-- | Source/JavaScriptCore/runtime/JSWrapperObject.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp index 3853207ff..c69161c4a 100644 --- a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp +++ b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp @@ -22,7 +22,7 @@ #include "config.h" #include "JSWrapperObject.h" -#include "Operations.h" +#include "JSCInlines.h" namespace JSC { @@ -32,11 +32,8 @@ 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); + visitor.append(thisObject->m_internalValue); } } // namespace JSC |