Changeset 33038 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.h
- Timestamp:
- May 12, 2008, 12:12:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.h
r32819 r33038 167 167 virtual void putWithAttributes(ExecState*, const Identifier& propertyName, JSValue* value, unsigned attributes); 168 168 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; } 171 171 JSGlobalObject* next() { return d()->next; } 172 172 … … 251 251 252 252 // 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; } 254 254 255 255 // Initialize and/or retrieve per-thread hash tables - use perThreadData() for faster access instead. 256 256 static ThreadClassInfoHashTables* threadClassInfoHashTables(); 257 258 void* operator new(size_t);259 257 260 258 private: … … 268 266 void deleteActivationStack(); 269 267 void checkActivationCount(); 268 269 static JSGlobalObject* s_head; 270 270 }; 271 271
Note:
See TracChangeset
for help on using the changeset viewer.