X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..93a3786624b2768d89bfa27e46598dc64e2fb70a:/runtime/BooleanObject.cpp

diff --git a/runtime/BooleanObject.cpp b/runtime/BooleanObject.cpp
index 01f695a..3f7f2f6 100644
--- a/runtime/BooleanObject.cpp
+++ b/runtime/BooleanObject.cpp
@@ -21,15 +21,24 @@
 #include "config.h"
 #include "BooleanObject.h"
 
+#include "JSScope.h"
+#include "Operations.h"
+
 namespace JSC {
 
-ASSERT_CLASS_FITS_IN_CELL(BooleanObject);
+ASSERT_HAS_TRIVIAL_DESTRUCTOR(BooleanObject);
+
+const ClassInfo BooleanObject::s_info = { "Boolean", &JSWrapperObject::s_info, 0, 0, CREATE_METHOD_TABLE(BooleanObject) };
 
-const ClassInfo BooleanObject::info = { "Boolean", 0, 0, 0 };
+BooleanObject::BooleanObject(VM& vm, Structure* structure)
+    : JSWrapperObject(vm, structure)
+{
+}
 
-BooleanObject::BooleanObject(PassRefPtr<Structure> structure)
-    : JSWrapperObject(structure)
+void BooleanObject::finishCreation(VM& vm)
 {
+    Base::finishCreation(vm);
+    ASSERT(inherits(&s_info));
 }
 
 } // namespace JSC