summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/debugger/DebuggerActivation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/debugger/DebuggerActivation.cpp')
-rw-r--r--Source/JavaScriptCore/debugger/DebuggerActivation.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/JavaScriptCore/debugger/DebuggerActivation.cpp b/Source/JavaScriptCore/debugger/DebuggerActivation.cpp
index e23468035..eec2d6bd7 100644
--- a/Source/JavaScriptCore/debugger/DebuggerActivation.cpp
+++ b/Source/JavaScriptCore/debugger/DebuggerActivation.cpp
@@ -27,6 +27,7 @@
#include "DebuggerActivation.h"
#include "JSActivation.h"
+#include "Operations.h"
namespace JSC {
@@ -34,17 +35,17 @@ ASSERT_HAS_TRIVIAL_DESTRUCTOR(DebuggerActivation);
const ClassInfo DebuggerActivation::s_info = { "DebuggerActivation", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(DebuggerActivation) };
-DebuggerActivation::DebuggerActivation(JSGlobalData& globalData)
- : JSNonFinalObject(globalData, globalData.debuggerActivationStructure.get())
+DebuggerActivation::DebuggerActivation(VM& vm)
+ : JSNonFinalObject(vm, vm.debuggerActivationStructure.get())
{
}
-void DebuggerActivation::finishCreation(JSGlobalData& globalData, JSObject* activation)
+void DebuggerActivation::finishCreation(VM& vm, JSObject* activation)
{
- Base::finishCreation(globalData);
+ Base::finishCreation(vm);
ASSERT(activation);
ASSERT(activation->isActivationObject());
- m_activation.set(globalData, this, jsCast<JSActivation*>(activation));
+ m_activation.set(vm, this, jsCast<JSActivation*>(activation));
}
void DebuggerActivation::visitChildren(JSCell* cell, SlotVisitor& visitor)