]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/StrictEvalActivation.h
JavaScriptCore-7600.1.4.9.tar.gz
[apple/javascriptcore.git] / runtime / StrictEvalActivation.h
index df490d5e723864113bbe0a94ca51bf7379acfbe4..e02bb615d04fb15ec7f5cf147ab16991e0ac51d8 100644 (file)
@@ -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;