Changeset b6460bf for benchmark/readyQ


Ignore:
Timestamp:
Dec 28, 2020, 4:13:35 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
3e36f220
Parents:
772b300
Message:

Replaced deletes with free to match allocations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/readyQ/locality.cfa

    r772b300 rb6460bf  
    248248
    249249                        for(i; nthreads) {
    250                                 delete(threads[i]);
     250                                ^( *threads[i] ){};
     251                                free( threads[i] );
    251252                        }
    252253                }
    253254
    254255                for(i; nthreads) {
    255                         delete( data_arrays[i] );
     256                        ^( *data_arrays[i] ){};
     257                        free( data_arrays[i] );
    256258                }
    257259
    258260                for(i; nthreads - nprocs) {
    259                         delete( spots[i] );
     261                        ^( *spots[i] ){};
     262                        free( spots[i] );
    260263                }
    261264        }
Note: See TracChangeset for help on using the changeset viewer.