summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSWithScope.h
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2013-09-13 12:51:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-19 20:50:05 +0200
commitd441d6f39bb846989d95bcf5caf387b42414718d (patch)
treee367e64a75991c554930278175d403c072de6bb8 /Source/JavaScriptCore/runtime/JSWithScope.h
parent0060b2994c07842f4c59de64b5e3e430525c4b90 (diff)
downloadqtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit. Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSWithScope.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSWithScope.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/JavaScriptCore/runtime/JSWithScope.h b/Source/JavaScriptCore/runtime/JSWithScope.h
index ba2b793a9..ea879cb54 100644
--- a/Source/JavaScriptCore/runtime/JSWithScope.h
+++ b/Source/JavaScriptCore/runtime/JSWithScope.h
@@ -37,14 +37,14 @@ public:
static JSWithScope* create(ExecState* exec, JSObject* object)
{
JSWithScope* withScope = new (NotNull, allocateCell<JSWithScope>(*exec->heap())) JSWithScope(exec, object);
- withScope->finishCreation(exec->globalData());
+ withScope->finishCreation(exec->vm());
return withScope;
}
static JSWithScope* create(ExecState* exec, JSObject* object, JSScope* next)
{
JSWithScope* withScope = new (NotNull, allocateCell<JSWithScope>(*exec->heap())) JSWithScope(exec, object, next);
- withScope->finishCreation(exec->globalData());
+ withScope->finishCreation(exec->vm());
return withScope;
}
@@ -52,9 +52,9 @@ public:
static void visitChildren(JSCell*, SlotVisitor&);
- static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue proto)
+ static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue proto)
{
- return Structure::create(globalData, globalObject, proto, TypeInfo(WithScopeType, StructureFlags), &s_info);
+ return Structure::create(vm, globalObject, proto, TypeInfo(WithScopeType, StructureFlags), &s_info);
}
static JS_EXPORTDATA const ClassInfo s_info;
@@ -65,21 +65,21 @@ protected:
private:
JSWithScope(ExecState* exec, JSObject* object)
: Base(
- exec->globalData(),
+ exec->vm(),
exec->lexicalGlobalObject()->withScopeStructure(),
exec->scope()
)
- , m_object(exec->globalData(), this, object)
+ , m_object(exec->vm(), this, object)
{
}
JSWithScope(ExecState* exec, JSObject* object, JSScope* next)
: Base(
- exec->globalData(),
+ exec->vm(),
exec->lexicalGlobalObject()->withScopeStructure(),
next
)
- , m_object(exec->globalData(), this, object)
+ , m_object(exec->vm(), this, object)
{
}