X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/4be4e30906bcb8ee30b4d189205cb70bad6707ce..81345200c95645a1b0d2635520f96ad55dfde63f:/runtime/StrictEvalActivation.h diff --git a/runtime/StrictEvalActivation.h b/runtime/StrictEvalActivation.h index df490d5..e02bb61 100644 --- a/runtime/StrictEvalActivation.h +++ b/runtime/StrictEvalActivation.h @@ -42,14 +42,14 @@ public: } static bool deleteProperty(JSCell*, ExecState*, PropertyName); - static JSObject* toThisObject(JSCell*, ExecState*); + static JSValue toThis(JSCell*, ExecState*, ECMAMode); static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype) { - return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); + return Structure::create(vm, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), info()); } - static const ClassInfo s_info; + DECLARE_INFO; protected: static const unsigned StructureFlags = IsEnvironmentRecord | Base::StructureFlags;