Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_deallocation.cpp

    r128 r134  
    172172
    173173#if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true)
    174     {
    175       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    176         if (_param->_have_thread [i])
    177           {
    178             branchement_log_file [i].close();
    179           }
    180       delete [] branchement_log_file;
    181     }
     174    if (log_file_generate)
     175      {
     176        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     177          if (_param->_have_thread [i])
     178            {
     179              branchement_log_file [i].close();
     180            }
     181        delete [] branchement_log_file;
     182      }
    182183#endif
    183184
Note: See TracChangeset for help on using the changeset viewer.