Ignore:
Timestamp:
Feb 20, 2008, 7:44:27 PM (17 years ago)
Author:
dai_9181
Message:

BOOL bLiving → bool isLiving

File:
1 edited

Legend:

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

    r290 r392  
    7676
    7777    //使用済みローカル変数の生存チェックを外す
    78     BOOST_FOREACH( Variable *pVar, (*pVars) ){
    79         if(pVar->bLiving&&pVar->GetScopeLevel()==level){
    80             pVar->bLiving=0;
     78    BOOST_FOREACH( Variable *pVar, (*pVars) )
     79    {
     80        if( pVar->isLiving && pVar->GetScopeLevel() == level )
     81        {
     82            pVar->isLiving = false;
    8183            pVar->SetScopeEndAddress( compiler.codeGenerator.GetNativeCodeSize() );
    8284        }
     
    115117
    116118        //同一レベルのレキシカルスコープのみを検知
    117         if(!pVar->bLiving) continue;
     119        if( !pVar->isLiving ) continue;
    118120        if( pVar->GetScopeLevel() != GetNowLevel() ) continue;
    119121
Note: See TracChangeset for help on using the changeset viewer.