Changeset 10447 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Sep 2, 2005, 11:08:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/fast_malloc.cpp
r10222 r10447 226 226 227 227 #include "fast_malloc.h" 228 229 #define MORECORE_CONTIGUOUS 0 230 #define MORECORE_CANNOT_TRIM 1 231 #define MALLOC_FAILURE_ACTION abort() 228 232 229 233 namespace KJS { … … 2527 2531 #if __STD_C 2528 2532 static Void_t* sYSMALLOc(INTERNAL_SIZE_T, mstate); 2533 #ifndef MORECORE_CANNOT_TRIM 2529 2534 static int sYSTRIm(size_t, mstate); 2535 #endif 2530 2536 static void malloc_consolidate(mstate); 2531 2537 static Void_t** iALLOc(size_t, size_t*, int, Void_t**); … … 3317 3323 */ 3318 3324 3325 #ifndef MORECORE_CANNOT_TRIM 3326 3319 3327 #if __STD_C 3320 3328 static int sYSTRIm(size_t pad, mstate av) … … 3373 3381 return 0; 3374 3382 } 3383 3384 #endif 3375 3385 3376 3386 /*
Note:
See TracChangeset
for help on using the changeset viewer.