Ignore:
Timestamp:
Jun 27, 2008, 9:29:48 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-27 Sam Weinig <[email protected]>

Rubber-stamped by Oliver Hunt.

Splits ArrayConstructor out of ArrayPrototype.h/cpp
Splits BooleanConstructor and BooleanPrototype out of BooleanObject.h/cpp

  • GNUmakefile.am:
  • JavaScriptCore.pri:
  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • JavaScriptCoreSources.bkl:
  • VM/Machine.cpp:
  • kjs/AllInOneFile.cpp:
  • kjs/ArrayConstructor.cpp: Copied from kjs/ArrayPrototype.cpp.
  • kjs/ArrayConstructor.h: Copied from kjs/ArrayPrototype.h.
  • kjs/ArrayPrototype.cpp:
  • kjs/ArrayPrototype.h:
  • kjs/BooleanConstructor.cpp: Copied from kjs/BooleanObject.cpp.
  • kjs/BooleanConstructor.h: Copied from kjs/BooleanObject.h.
  • kjs/BooleanObject.cpp:
  • kjs/BooleanObject.h:
  • kjs/BooleanPrototype.cpp: Copied from kjs/BooleanObject.cpp.
  • kjs/BooleanPrototype.h: Copied from kjs/BooleanObject.h.
  • kjs/CommonIdentifiers.h:
  • kjs/FunctionPrototype.cpp:
  • kjs/JSArray.cpp:
  • kjs/JSGlobalObject.cpp:
  • kjs/JSImmediate.cpp:
  • kjs/Shell.cpp:
  • kjs/internal.cpp:
  • kjs/nodes.cpp:
  • kjs/string_object.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/BooleanObject.h

    r34754 r34843  
    2222#define BooleanObject_h
    2323
    24 #include "FunctionPrototype.h"
    2524#include "JSWrapperObject.h"
    2625
     
    3534    };
    3635
    37     /**
    38      * @internal
    39      *
    40      * The initial value of Boolean.prototype (and thus all objects created
    41      * with the Boolean constructor
    42      */
    43     class BooleanPrototype : public BooleanObject {
    44     public:
    45         BooleanPrototype(ExecState*, ObjectPrototype*, FunctionPrototype*);
    46     };
    47 
    48     /**
    49      * @internal
    50      *
    51      * The initial value of the the global variable's "Boolean" property
    52      */
    53     class BooleanConstructor : public InternalFunction {
    54     public:
    55         BooleanConstructor(ExecState*, FunctionPrototype*, BooleanPrototype*);
    56     private:
    57         virtual ConstructType getConstructData(ConstructData&);
    58         virtual CallType getCallData(CallData&);
    59     };
    60 
    61     JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSValue*);
    62     JSObject* constructBoolean(ExecState*, const ArgList&);
    63 
    6436} // namespace KJS
    6537
Note: See TracChangeset for help on using the changeset viewer.