webengine/osswebengine/MemoryManager/Src/heap.cpp
changeset 68 92a765b5b3e7
parent 16 a359256acfc6
equal deleted inserted replaced
66:cacf6ee57968 68:92a765b5b3e7
    28 #endif
    28 #endif
    29 
    29 
    30 #ifdef __NEW_ALLOCATOR__
    30 #ifdef __NEW_ALLOCATOR__
    31 
    31 
    32 #include "MemoryLogger.h"
    32 #include "MemoryLogger.h"
    33 #include "SymbianDLHeap.h"
    33 #include "SymbianDlHeap.h"
    34 
    34 
    35 _LIT(KDLHeapPanicCategory, "DL Heap");
    35 _LIT(KDLHeapPanicCategory, "DL Heap");
    36 #define	GET_PAGE_SIZE(x)			UserHal::PageSizeInBytes(x)
    36 #define	GET_PAGE_SIZE(x)			UserHal::PageSizeInBytes(x)
    37 #define	__CHECK_CELL(p)
    37 #define	__CHECK_CELL(p)
    38 #define __POWER_OF_2(x)				((TUint32)((x)^((x)-1))>=(TUint32)(x))
    38 #define __POWER_OF_2(x)				((TUint32)((x)^((x)-1))>=(TUint32)(x))