Ignore:
Timestamp:
May 12, 2008, 12:12:31 AM (17 years ago)
Author:
[email protected]
Message:

Roll out recent threading changes (r32807, r32810, r32819, r32822) to simplify
SquirrelFish merging.

File:
1 edited

Legend:

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

    r32819 r33038  
    167167        virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue* value, unsigned attributes);
    168168
    169         // Per-thread linked list of all global objects.
    170         static JSGlobalObject*& head();
     169        // Linked list of all global objects.
     170        static JSGlobalObject* head() { return s_head; }
    171171        JSGlobalObject* next() { return d()->next; }
    172172
     
    251251
    252252        // Per-thread hash tables, cached on the global object for faster access.
    253         PerThreadData* perThreadData() { return &d()->perThreadData; }
     253        const PerThreadData* perThreadData() const { return &d()->perThreadData; }
    254254
    255255        // Initialize and/or retrieve per-thread hash tables - use perThreadData() for faster access instead.
    256256        static ThreadClassInfoHashTables* threadClassInfoHashTables();
    257 
    258         void* operator new(size_t);
    259257
    260258    private:
     
    268266        void deleteActivationStack();
    269267        void checkActivationCount();
     268
     269        static JSGlobalObject* s_head;
    270270    };
    271271
Note: See TracChangeset for help on using the changeset viewer.