Changeset 265 in dev for trunk/abdev/BasicCompiler_Common/VarList.cpp
- Timestamp:
- Aug 6, 2007, 11:44:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/VarList.cpp
r263 r265 275 275 extern int MemPos_RWSection; 276 276 277 BOOST_FOREACH( Variable *pVar, compiler. objectModule.meta.GetGlobalVars() ){277 BOOST_FOREACH( Variable *pVar, compiler.GetObjectModule().meta.GetGlobalVars() ){ 278 278 279 279 //スコープ外の場合は無視 … … 358 358 359 359 UserProc *pUserProc = NULL; 360 compiler. objectModule.meta.GetUserProcs().Iterator_Reset();361 while( compiler. objectModule.meta.GetUserProcs().Iterator_HasNext() )360 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 361 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 362 362 { 363 pUserProc = compiler. objectModule.meta.GetUserProcs().Iterator_GetNext();364 if(rva_to_real(pUserProc-> _beginOpAddressOld) <= pobj_dti->lplpObp[i2] &&365 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc-> _endOpAddressOld)){363 pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 364 if(rva_to_real(pUserProc->GetBeginOpAddress()) <= pobj_dti->lplpObp[i2] && 365 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc->GetEndOpAddress())){ 366 366 break; 367 367 } … … 604 604 605 605 UserProc *pUserProc = NULL; 606 compiler. objectModule.meta.GetUserProcs().Iterator_Reset();607 while( compiler. objectModule.meta.GetUserProcs().Iterator_HasNext() )606 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 607 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 608 608 { 609 pUserProc = compiler. objectModule.meta.GetUserProcs().Iterator_GetNext();610 611 if(rva_to_real(pUserProc-> _beginOpAddressOld) <= pobj_dti->lplpObp[i2] &&612 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc-> _endOpAddressOld))609 pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 610 611 if(rva_to_real(pUserProc->GetBeginOpAddress()) <= pobj_dti->lplpObp[i2] && 612 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc->GetEndOpAddress())) 613 613 { 614 614 lstrcpy(temporary,pUserProc->GetName().c_str()); … … 717 717 718 718 UserProc *pUserProc = NULL; 719 compiler. objectModule.meta.GetUserProcs().Iterator_Reset();720 while( compiler. objectModule.meta.GetUserProcs().Iterator_HasNext() )719 compiler.GetObjectModule().meta.GetUserProcs().Iterator_Reset(); 720 while( compiler.GetObjectModule().meta.GetUserProcs().Iterator_HasNext() ) 721 721 { 722 pUserProc = compiler. objectModule.meta.GetUserProcs().Iterator_GetNext();723 724 if(rva_to_real(pUserProc-> _beginOpAddressOld) <= pobj_dti->lplpObp[i2] &&725 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc-> _endOpAddressOld)){722 pUserProc = compiler.GetObjectModule().meta.GetUserProcs().Iterator_GetNext(); 723 724 if(rva_to_real(pUserProc->GetBeginOpAddress()) <= pobj_dti->lplpObp[i2] && 725 pobj_dti->lplpObp[i2] < rva_to_real(pUserProc->GetEndOpAddress())){ 726 726 break; 727 727 }
Note:
See TracChangeset
for help on using the changeset viewer.