Changeset 33038 in webkit for trunk/JavaScriptCore/kjs/protect.h
- Timestamp:
- May 12, 2008, 12:12:31 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/protect.h
r32807 r33038 31 31 namespace KJS { 32 32 33 inline void gcProtect(JSValue* val) 34 { 35 Heap* heap = Heap::heap(val); 36 if (heap) 37 heap->protect(val); 33 inline void gcProtect(JSValue *val) 34 { 35 Collector::protect(val); 38 36 } 39 37 40 inline void gcUnprotect(JSValue* val) 41 { 42 Heap* heap = Heap::heap(val); 43 if (heap) 44 heap->unprotect(val); 38 inline void gcUnprotect(JSValue *val) 39 { 40 Collector::unprotect(val); 45 41 } 46 42
Note:
See TracChangeset
for help on using the changeset viewer.