Changeset 1789 in webkit for trunk/JavaScriptCore/kjs/value.cpp
- Timestamp:
- Aug 9, 2002, 4:24:41 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/value.cpp
r1623 r1789 42 42 // ----------------------------- ValueImp ------------------------------------- 43 43 44 #if APPLE_CHANGES45 ValueImp::ValueImp() :46 refcount(0)47 {48 // Tell the garbage collector that this memory block corresponds to a real object now49 Collector::lock();50 _flags = VI_CREATED;51 //fprintf(stderr,"ValueImp::ValueImp %p\n",(void*)this);52 Collector::unlock();53 }54 #else55 44 ValueImp::ValueImp() : 56 45 refcount(0), … … 60 49 //fprintf(stderr,"ValueImp::ValueImp %p\n",(void*)this); 61 50 } 62 #endif63 51 64 52 ValueImp::~ValueImp() … … 81 69 void ValueImp::setGcAllowed() 82 70 { 83 #ifdef APPLE_CHANGES84 Collector::lock();85 #endif86 71 //fprintf(stderr,"ValueImp::setGcAllowed %p\n",(void*)this); 87 72 _flags |= VI_GCALLOWED; 88 #ifdef APPLE_CHANGES89 Collector::unlock();90 #endif91 73 } 92 74
Note:
See TracChangeset
for help on using the changeset viewer.