Changeset 393 in dev for trunk/abdev/BasicCompiler_Common/VarList.cpp
- Timestamp:
- Feb 24, 2008, 6:59:33 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VarList.cpp
r280 r393 372 372 373 373 //スコープ外の場合は無視 374 if(pVar->GetScopeLevel()!=0){ 375 if(rva_to_real(pVar->GetScopeStartAddress()) <= pobj_dti->lplpObp[i2] && 376 pobj_dti->lplpObp[i2] < rva_to_real(pVar->GetScopeEndAddress())){ 374 int scopeBeginAddressRva = pUserProc->GetBeginOpAddress() + pVar->GetScopeStartAddress(); 375 int scopeEndAddressRva = pUserProc->GetBeginOpAddress() + pVar->GetScopeEndAddress(); 376 if(pVar->GetScopeLevel()!=0) 377 { 378 if( rva_to_real( scopeBeginAddressRva ) <= pobj_dti->lplpObp[i2] 379 && pobj_dti->lplpObp[i2] < rva_to_real( scopeEndAddressRva ) ) 380 { 377 381 //範囲内 378 382 }
Note:
See TracChangeset
for help on using the changeset viewer.