]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/BooleanObject.cpp
JavaScriptCore-903.5.tar.gz
[apple/javascriptcore.git] / runtime / BooleanObject.cpp
index c9b3846597e68a1824f197577807a7772edad283..e24a30a4bb54ae500ed0e9d7165fc9ce7a5d9a63 100644 (file)
@@ -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(NonNullPassRefPtr<Structure> structure)
-    : JSWrapperObject(structure)
+BooleanObject::BooleanObject(JSGlobalData& globalData, Structure* structure)
+    : JSWrapperObject(globalData, structure)
 {
+    ASSERT(inherits(&s_info));
 }
 
 } // namespace JSC