Changeset 51624 in webkit for trunk/JavaScriptCore/runtime/JSCell.h
- Timestamp:
- Dec 2, 2009, 10:25:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/JSCell.h
r49955 r51624 43 43 friend class JSValue; 44 44 friend class JSAPIValueWrapper; 45 friend class JSZombie; 45 46 friend struct VPtrSet; 46 47 … … 91 92 92 93 virtual void markChildren(MarkStack&); 94 #if ENABLE(JSC_ZOMBIES) 95 virtual bool isZombie() const { return false; } 96 #endif 93 97 94 98 // Object operations, with the toObject operation included. … … 343 347 return cellBlock(c)->heap; 344 348 } 345 349 350 #if ENABLE(JSC_ZOMBIES) 351 inline bool JSValue::isZombie() const 352 { 353 return isCell() && asCell() && asCell()->isZombie(); 354 } 355 #endif 346 356 } // namespace JSC 347 357
Note:
See TracChangeset
for help on using the changeset viewer.