Ignore:
Timestamp:
Apr 15, 2011, 4:55:42 PM (14 years ago)
Author:
[email protected]
Message:

2011-04-15 Oliver Hunt <[email protected]>

GC allocate Structure
https://bugs.webkit.org/show_bug.cgi?id=58483

Rolling r83894 r83827 r83810 r83809 r83808 back in with
a workaround for the gcc bug seen by the gtk bots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSFunction.h

    r83955 r84052  
    4646
    4747    public:
    48         JSFunction(ExecState*, JSGlobalObject*, NonNullPassRefPtr<Structure>, int length, const Identifier&, NativeFunction);
    49         JSFunction(ExecState*, JSGlobalObject*, NonNullPassRefPtr<Structure>, int length, const Identifier&, NativeExecutable*);
     48        JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeFunction);
     49        JSFunction(ExecState*, JSGlobalObject*, Structure*, int length, const Identifier&, NativeExecutable*);
    5050        JSFunction(ExecState*, FunctionExecutable*, ScopeChainNode*);
    5151        virtual ~JSFunction();
     
    7474        static JS_EXPORTDATA const ClassInfo s_info;
    7575
    76         static PassRefPtr<Structure> createStructure(JSGlobalData& globalData, JSValue prototype)
     76        static Structure* createStructure(JSGlobalData& globalData, JSValue prototype)
    7777        {
    7878            return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
     
    8888
    8989    private:
    90         JSFunction(NonNullPassRefPtr<Structure>, VPtrHackExecutable*);
     90        explicit JSFunction(VPtrStealingHackType);
    9191
    9292        bool isHostFunctionNonInline() const;
Note: See TracChangeset for help on using the changeset viewer.