Cleaning up cmitls.c
authorNikhil Jain <nikhil@illinois.edu>
Tue, 11 Oct 2011 23:54:45 +0000 (18:54 -0500)
committerNikhil Jain <nikhil@illinois.edu>
Tue, 11 Oct 2011 23:54:45 +0000 (18:54 -0500)
src/util/cmitls.c

index 34b44b0f6bdf5d64b706945fa656f702da555140..7aceab31a1cf110d11758d2e48890d6629e4080d 100644 (file)
@@ -46,8 +46,6 @@ void allocNewTLSSeg(tlsseg_t* t, CthThread th) {
     t->size = phdr->p_memsz;
     t->align = phdr->p_align;
     t->memseg = (Addr)CmiIsomallocAlign(t->align, t->size, th);
-//    t->memseg = (Addr)CmiIsomallocAlign(t->align, t->size);
-    //t->memseg = memalign(t->align, t->size);
     memset((void*)t->memseg, 0, t->size);
     memcpy((void*)t->memseg, (void*) (phdr->p_vaddr), (size_t)(phdr->p_filesz));
     t->memseg = (Addr)( ((void*)(t->memseg)) + t->size );