X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..14957cd040308e3eeec43d26bae5d76da13fcd85:/runtime/BooleanObject.cpp?ds=sidebyside diff --git a/runtime/BooleanObject.cpp b/runtime/BooleanObject.cpp index 01f695a..e24a30a 100644 --- a/runtime/BooleanObject.cpp +++ b/runtime/BooleanObject.cpp @@ -25,11 +25,12 @@ namespace JSC { ASSERT_CLASS_FITS_IN_CELL(BooleanObject); -const ClassInfo BooleanObject::info = { "Boolean", 0, 0, 0 }; +const ClassInfo BooleanObject::s_info = { "Boolean", &JSWrapperObject::s_info, 0, 0 }; -BooleanObject::BooleanObject(PassRefPtr structure) - : JSWrapperObject(structure) +BooleanObject::BooleanObject(JSGlobalData& globalData, Structure* structure) + : JSWrapperObject(globalData, structure) { + ASSERT(inherits(&s_info)); } } // namespace JSC