X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/4be4e30906bcb8ee30b4d189205cb70bad6707ce..81345200c95645a1b0d2635520f96ad55dfde63f:/runtime/BooleanObject.h diff --git a/runtime/BooleanObject.h b/runtime/BooleanObject.h index 299f341..6944db4 100644 --- a/runtime/BooleanObject.h +++ b/runtime/BooleanObject.h @@ -40,11 +40,11 @@ public: return boolean; } - static JS_EXPORTDATA const ClassInfo s_info; + DECLARE_EXPORT_INFO; static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) { - return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); + return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info()); } }; @@ -52,7 +52,7 @@ BooleanObject* asBooleanObject(JSValue); inline BooleanObject* asBooleanObject(JSValue value) { - ASSERT(asObject(value)->inherits(&BooleanObject::s_info)); + ASSERT(asObject(value)->inherits(BooleanObject::info())); return static_cast(asObject(value)); }