Unzip initialization lists and constructors in JSCell hierarchy (5/7)
[WebKit-https.git] / Source / JavaScriptCore / debugger / DebuggerActivation.cpp
index 4385542..af6a56f 100644 (file)
 
 namespace JSC {
 
-DebuggerActivation::DebuggerActivation(JSGlobalData& globalData, JSObject* activation)
-    : JSNonFinalObject(globalData, DebuggerActivation::createStructure(globalData, jsNull()))
+DebuggerActivation::DebuggerActivation(JSGlobalData& globalData)
+    : JSNonFinalObject(globalData, globalData.debuggerActivationStructure.get())
 {
+}
+
+void DebuggerActivation::finishCreation(JSGlobalData& globalData, JSObject* activation)
+{
+    Base::finishCreation(globalData);
     ASSERT(activation);
     ASSERT(activation->isActivationObject());
     m_activation.set(globalData, this, static_cast<JSActivation*>(activation));