Changeset 447b0d2b for libcfa/src/stdlib.hfa
- Timestamp:
- Sep 3, 2020, 12:07:15 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 9617533
- Parents:
- 4bc27c0 (diff), 73f1b1c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/stdlib.hfa
r4bc27c0 r447b0d2b 179 179 180 180 if ( Resize ) { 181 //printf("1. $alloc_internal got: %p %p %lu %lu\n", Resize, Realloc, Align, Dim); // these prints are temporary182 181 ptr = (T*) (void *) resize( (void *)Resize, Align, Dim * size ); 183 182 } else if ( Realloc ) { 184 183 if (Fill.tag != '0') copy_end = min(malloc_size( Realloc ), Dim * size); 185 //printf("2. $alloc_internal got: %p %p %lu %lu\n", Resize, Realloc, Align, Dim);186 184 ptr = (T*) (void *) realloc( (void *)Realloc, Align, Dim * size ); 187 185 } else { 188 //printf("3. $alloc_internal got: %p %p %lu %lu\n", Resize, Realloc, Align, Dim);189 186 ptr = (T*) (void *) memalign( Align, Dim * size ); 190 187 }
Note: See TracChangeset
for help on using the changeset viewer.