Changeset 28301 in vbox
- Timestamp:
- Apr 14, 2010 1:03:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/alloc.cpp
r28298 r28301 180 180 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *)); 181 181 #ifdef RTALLOC_USE_EFENCE 182 void *pv = rtR3MemAlloc("AllocVar", RTMEMTYPE_RTMEMALLOC, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL); 183 #else 182 184 void *pv = RTMemAlloc(cbAligned); 183 #else184 void *pv = rtR3MemAlloc("AllocVar", RTMEMTYPE_RTMEMALLOC, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);185 185 #endif 186 186 return pv; … … 203 203 cbAligned = RT_ALIGN_Z(cbUnaligned, sizeof(void *)); 204 204 #ifdef RTALLOC_USE_EFENCE 205 void *pv = rtR3MemAlloc("AllocZVar", RTMEMTYPE_RTMEMALLOCZ, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL); 206 #else 205 207 void *pv = RTMemAllocZ(cbAligned); 206 #else207 void *pv = rtR3MemAlloc("AllocZVar", RTMEMTYPE_RTMEMALLOCZ, cbUnaligned, cbAligned, ASMReturnAddress(), NULL, 0, NULL);208 208 #endif 209 209 return pv;
Note:
See TracChangeset
for help on using the changeset viewer.