X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/81345200c95645a1b0d2635520f96ad55dfde63f..HEAD:/API/JSAPIWrapperObject.mm diff --git a/API/JSAPIWrapperObject.mm b/API/JSAPIWrapperObject.mm index 897e96f..ef54602 100644 --- a/API/JSAPIWrapperObject.mm +++ b/API/JSAPIWrapperObject.mm @@ -26,7 +26,6 @@ #include "config.h" #include "JSAPIWrapperObject.h" -#include "DelayedReleaseScope.h" #include "JSCInlines.h" #include "JSCallbackObject.h" #include "JSVirtualMachineInternal.h" @@ -68,7 +67,7 @@ bool JSAPIWrapperObjectHandleOwner::isReachableFromOpaqueRoots(JSC::Handle const ClassInfo JSCallbackObject::s_info = { "JSAPIWrapperObject", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSCallbackObject) }; +template <> const ClassInfo JSCallbackObject::s_info = { "JSAPIWrapperObject", &Base::s_info, 0, CREATE_METHOD_TABLE(JSCallbackObject) }; template<> const bool JSCallbackObject::needsDestruction = true; @@ -99,7 +98,6 @@ void JSAPIWrapperObject::setWrappedObject(void* wrappedObject) void JSAPIWrapperObject::visitChildren(JSCell* cell, JSC::SlotVisitor& visitor) { JSAPIWrapperObject* thisObject = JSC::jsCast(cell); - COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag); Base::visitChildren(cell, visitor); if (thisObject->wrappedObject())