Changeset 35055 in webkit for trunk/JavaScriptCore/wtf
- Timestamp:
- Jul 7, 2008, 8:30:43 PM (17 years ago)
- Location:
- trunk/JavaScriptCore/wtf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/FastMalloc.cpp
r34824 r35055 1 1 // Copyright (c) 2005, 2007, Google Inc. 2 2 // All rights reserved. 3 // Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 4 // 4 5 // Redistribution and use in source and binary forms, with or without … … 197 198 } 198 199 200 void releaseFastMallocFreeMemory() { } 201 199 202 } // namespace WTF 200 201 extern "C" {202 void releaseFastMallocFreeMemory() { }203 }204 203 205 204 #if PLATFORM(DARWIN) … … 209 208 #endif 210 209 211 #else 210 #else // FORCE_SYSTEM_MALLOC 212 211 213 212 #if HAVE(STDINT_H) … … 3688 3687 } 3689 3688 3690 extern "C" { 3689 #endif 3690 3691 3691 void releaseFastMallocFreeMemory() 3692 3692 { … … 3694 3694 pageheap->ReleaseFreePages(); 3695 3695 } 3696 }3697 3698 #endif3699 3696 3700 3697 #if WTF_CHANGES … … 3702 3699 #endif 3703 3700 3704 #endif // USE_SYSTEM_MALLOC3701 #endif // FORCE_SYSTEM_MALLOC -
trunk/JavaScriptCore/wtf/FastMalloc.h
r34028 r35055 1 // -*- mode: c++; c-basic-offset: 4 -*-2 1 /* 3 * This file is part of the KDE libraries 4 * Copyright (C) 2005 Apple Computer, Inc. 2 * Copyright (C) 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 3 * 6 4 * This library is free software; you can redistribute it and/or … … 41 39 #endif 42 40 41 void releaseFastMallocFreeMemory(); 42 43 43 } // namespace WTF 44 44 … … 71 71 WTF_PRIVATE_INLINE void* operator new[](size_t s) { return fastMalloc(s); } 72 72 WTF_PRIVATE_INLINE void operator delete[](void* p) { fastFree(p); } 73 74 extern "C" {75 void releaseFastMallocFreeMemory();76 }77 73 #endif 78 74
Note:
See TracChangeset
for help on using the changeset viewer.