summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSWrapperObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSWrapperObject.cpp')
-rw-r--r--Source/JavaScriptCore/runtime/JSWrapperObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp
index f8f5727d8..4a46c2c69 100644
--- a/Source/JavaScriptCore/runtime/JSWrapperObject.cpp
+++ b/Source/JavaScriptCore/runtime/JSWrapperObject.cpp
@@ -33,9 +33,9 @@ void JSWrapperObject::visitChildren(JSCell* cell, SlotVisitor& visitor)
ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info);
COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag);
ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());
+
JSObject::visitChildren(thisObject, visitor);
- if (thisObject->m_internalValue)
- visitor.append(&thisObject->m_internalValue);
+ visitor.append(&thisObject->m_internalValue);
}
} // namespace JSC