X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/93a3786624b2768d89bfa27e46598dc64e2fb70a..81345200c95645a1b0d2635520f96ad55dfde63f:/runtime/JSWrapperObject.cpp diff --git a/runtime/JSWrapperObject.cpp b/runtime/JSWrapperObject.cpp index 01961a9..039dd69 100644 --- a/runtime/JSWrapperObject.cpp +++ b/runtime/JSWrapperObject.cpp @@ -22,16 +22,16 @@ #include "config.h" #include "JSWrapperObject.h" -#include "Operations.h" +#include "JSCInlines.h" namespace JSC { -ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSWrapperObject); +STATIC_ASSERT_IS_TRIVIALLY_DESTRUCTIBLE(JSWrapperObject); void JSWrapperObject::visitChildren(JSCell* cell, SlotVisitor& visitor) { JSWrapperObject* thisObject = jsCast(cell); - ASSERT_GC_OBJECT_INHERITS(thisObject, &s_info); + ASSERT_GC_OBJECT_INHERITS(thisObject, info()); COMPILE_ASSERT(StructureFlags & OverridesVisitChildren, OverridesVisitChildrenWithoutSettingFlag); ASSERT(thisObject->structure()->typeInfo().overridesVisitChildren());