]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/DateConstructor.h
JavaScriptCore-1218.tar.gz
[apple/javascriptcore.git] / runtime / DateConstructor.h
index fe6597418ceec6f2122d20a1f2d38792fb4cae75..5a6200e992a7893f6b9c4d90c69bdd7e94ec5c29 100644 (file)
@@ -40,9 +40,9 @@ namespace JSC {
 
         static const ClassInfo s_info;
 
 
         static const ClassInfo s_info;
 
-        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);
         }
 
     protected:
         }
 
     protected:
@@ -54,9 +54,9 @@ namespace JSC {
         static ConstructType getConstructData(JSCell*, ConstructData&);
         static CallType getCallData(JSCell*, CallData&);
 
         static ConstructType getConstructData(JSCell*, ConstructData&);
         static CallType getCallData(JSCell*, CallData&);
 
-        static bool getOwnPropertySlot(JSCell*, ExecState*, const Identifier&, PropertySlot&);
+        static bool getOwnPropertySlot(JSCell*, ExecState*, PropertyName, PropertySlot&);
 
 
-        static bool getOwnPropertyDescriptor(JSObject*, ExecState*, const Identifier&, PropertyDescriptor&);
+        static bool getOwnPropertyDescriptor(JSObject*, ExecState*, PropertyName, PropertyDescriptor&);
     };
 
     JSObject* constructDate(ExecState*, JSGlobalObject*, const ArgList&);
     };
 
     JSObject* constructDate(ExecState*, JSGlobalObject*, const ArgList&);