}
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;