예제 #1
0
파일: ics.cpp 프로젝트: lyzardiar/pyston
RuntimeIC::~RuntimeIC() {
    if (ENABLE_RUNTIME_ICS) {
        deregisterCompiledPatchpoint(icinfo.get());
        free(addr);
    } else {
    }
}
예제 #2
0
파일: ics.cpp 프로젝트: jmgc/pyston
RuntimeIC::~RuntimeIC() {
    if (ENABLE_RUNTIME_ICS) {
        deregisterCompiledPatchpoint(icinfo.get());
#ifdef NVALGRIND
        free(addr);
#else
        munmap(addr, total_size);
#endif
    } else {
    }
}