]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/ConstructData.h
JavaScriptCore-721.26.tar.gz
[apple/javascriptcore.git] / runtime / ConstructData.h
index 559c1bd5eb7291e649f786970c0d967c9ca3c0fc..6b954a629e518b28e4783c817f86cc32b9431603 100644 (file)
@@ -33,9 +33,9 @@ namespace JSC {
 
     class ArgList;
     class ExecState;
-    class FunctionBodyNode;
+    class FunctionExecutable;
     class JSObject;
-    class JSValuePtr;
+    class JSValue;
     class ScopeChainNode;
 
     enum ConstructType {
@@ -51,12 +51,12 @@ namespace JSC {
             NativeConstructor function;
         } native;
         struct {
-            FunctionBodyNode* functionBody;
+            FunctionExecutable* functionExecutable;
             ScopeChainNode* scopeChain;
         } js;
     };
 
-    JSObject* construct(ExecState*, JSValuePtr constructor, ConstructType, const ConstructData&, const ArgList&);
+    JSObject* construct(ExecState*, JSValue constructor, ConstructType, const ConstructData&, const ArgList&);
 
 } // namespace JSC