Ignore:
Timestamp:
Sep 24, 2008, 2:02:16 AM (16 years ago)
Author:
イグトランス (egtra)
Message:

BOOST_FOREACHを可能なものはVC++ 2005 for eachへ置換(やや速くなる)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp

    r677 r750  
    2323}
    2424void LexicalScope::RunScheduleOfBreak(){
    25     BOOST_FOREACH( const PertialSchedule *pBreakPertialSchedule, breakPertialSchedules )
     25    foreach( const PertialSchedule *pBreakPertialSchedule, breakPertialSchedules )
    2626    {
    2727        compiler.codeGenerator.opfix_JmpPertialSchedule( pBreakPertialSchedule );
     
    7676
    7777    //使用済みローカル変数の生存チェックを外す
    78     BOOST_FOREACH( Variable *pVar, (*pVars) )
     78    foreach( Variable *pVar, (*pVars) )
    7979    {
    8080        if( pVar->isLiving && pVar->GetScopeLevel() == level )
Note: See TracChangeset for help on using the changeset viewer.