summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSNotAnObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSNotAnObject.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSNotAnObject.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/JavaScriptCore/runtime/JSNotAnObject.h b/Source/JavaScriptCore/runtime/JSNotAnObject.h
index 3636c9bd4..4ec73ac09 100644
--- a/Source/JavaScriptCore/runtime/JSNotAnObject.h
+++ b/Source/JavaScriptCore/runtime/JSNotAnObject.h
@@ -39,7 +39,7 @@ namespace JSC {
class JSNotAnObject : public JSNonFinalObject {
private:
JSNotAnObject(ExecState* exec)
- : JSNonFinalObject(exec->globalData(), exec->globalData().notAnObjectStructure.get())
+ : JSNonFinalObject(exec->vm(), exec->vm().notAnObjectStructure.get())
{
}
@@ -49,13 +49,13 @@ namespace JSC {
static JSNotAnObject* create(ExecState* exec)
{
JSNotAnObject* object = new (NotNull, allocateCell<JSNotAnObject>(*exec->heap())) JSNotAnObject(exec);
- object->finishCreation(exec->globalData());
+ object->finishCreation(exec->vm());
return object;
}
- static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype)
+ static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
{
- return Structure::create(globalData, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
+ return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
}
static const ClassInfo s_info;