Changeset 49365 in webkit for trunk/JavaScriptCore/runtime/Collector.h
- Timestamp:
- Oct 8, 2009, 8:22:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/Collector.h
r49280 r49365 72 72 void destroy(); 73 73 74 #ifdef JAVASCRIPTCORE_BUILDING_ALL_IN_ONE_FILE75 // We can inline these functions because everything is compiled as76 // one file, so the heapAllocate template definitions are available.77 // However, allocateNumber is used via jsNumberCell outside JavaScriptCore.78 // Thus allocateNumber needs to provide a non-inline version too.79 void* inlineAllocateNumber(size_t s) { return heapAllocate<NumberHeap>(s); }80 void* inlineAllocate(size_t s) { return heapAllocate<PrimaryHeap>(s); }81 #endif82 74 void* allocateNumber(size_t); 83 75 void* allocate(size_t);
Note:
See TracChangeset
for help on using the changeset viewer.