Changeset 750 in dev for trunk/ab5.0/abdev/BasicCompiler_Common/src/Linker.cpp
- Timestamp:
- Sep 24, 2008, 2:02:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/src/Linker.cpp
r587 r750 7 7 void Linker::ResolveDataTableSchedules( long dataSectionBaseOffset ) 8 8 { 9 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )9 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 10 10 { 11 11 if( schedule.GetType() == Schedule::DataTable ) … … 18 18 } 19 19 20 BOOST_FOREACH( const Schedule &schedule, dataTable.schedules )20 foreach( const Schedule &schedule, dataTable.schedules ) 21 21 { 22 22 if( schedule.GetType() == Schedule::DataTable ) … … 40 40 void Linker::ResolveCatchAddressSchedules( long codeSectionBaseOffset ) 41 41 { 42 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )42 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 43 43 { 44 44 if( schedule.GetType() == Schedule::CatchAddress ) … … 55 55 } 56 56 57 BOOST_FOREACH( const Schedule &schedule, dataTable.schedules )57 foreach( const Schedule &schedule, dataTable.schedules ) 58 58 { 59 59 if( schedule.GetType() == Schedule::CatchAddress ) … … 81 81 void Linker::ResolveDllProcSchedules( long codeSectionBaseOffset, long importSectionBaseOffset, long lookupSize, long hintSize ) 82 82 { 83 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )83 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 84 84 { 85 85 if( schedule.GetType() == Schedule::DllProc ) … … 105 105 void Linker::ResolveUserProcSchedules( long codeSectionBaseOffset ) 106 106 { 107 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )107 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 108 108 { 109 109 if( schedule.GetType() == Schedule::UserProc … … 139 139 int allInitVarSize = compiler.GetObjectModule().meta.GetGlobalVars().initAreaBuffer.GetSize(); 140 140 141 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )141 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 142 142 { 143 143 if( schedule.GetType() == Schedule::GlobalVar ) … … 163 163 void Linker::ResolveVtblSchedule( long dataSectionBaseOffset ) 164 164 { 165 BOOST_FOREACH( const Schedule &schedule, nativeCode.GetSchedules() )165 foreach( const Schedule &schedule, nativeCode.GetSchedules() ) 166 166 { 167 167 if( schedule.GetType() == Schedule::ComVtbl ) … … 186 186 } 187 187 188 BOOST_FOREACH( const Schedule &schedule, dataTable.schedules )188 foreach( const Schedule &schedule, dataTable.schedules ) 189 189 { 190 190 if( schedule.GetType() == Schedule::ComVtbl ) … … 226 226 void Linker::ResolveTypeInfoSchedule( long dataSectionBaseOffset ) 227 227 { 228 BOOST_FOREACH( const Schedule &schedule, dataTable.schedules )228 foreach( const Schedule &schedule, dataTable.schedules ) 229 229 { 230 230 if( schedule.GetType() == Schedule::TypeInfo )
Note:
See TracChangeset
for help on using the changeset viewer.