]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/BooleanObject.cpp
JavaScriptCore-1218.33.tar.gz
[apple/javascriptcore.git] / runtime / BooleanObject.cpp
index 37c6eab0ddece3f54c3ecac92ad892f3fd5280b8..3f7f2f621257542bad572a64ddf9a6ec0b96b0c4 100644 (file)
 #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) };
 
-BooleanObject::BooleanObject(JSGlobalData& globalData, Structure* structure)
-    : JSWrapperObject(globalData, structure)
+BooleanObject::BooleanObject(VM& vm, Structure* structure)
+    : JSWrapperObject(vm, structure)
 {
 }
 
-void BooleanObject::finishCreation(JSGlobalData& globalData)
+void BooleanObject::finishCreation(VM& vm)
 {
-    Base::finishCreation(globalData);
+    Base::finishCreation(vm);
     ASSERT(inherits(&s_info));
 }