Changeset 273 in dev for trunk/abdev/BasicCompiler_Common/src/NativeCode.cpp
- Timestamp:
- Aug 11, 2007, 4:03:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/NativeCode.cpp
r263 r273 125 125 sourceLines.push_back( SourceLine( (long)sourceLines.size(), size, cp, sourceLineType ) ); 126 126 } 127 128 void NativeCode::ResetDataSectionBaseOffset( long dataSectionBaseOffset ) 129 { 130 BOOST_FOREACH( const Schedule &schedule, schedules ) 131 { 132 if( schedule.GetType() == Schedule::DataTable ) 133 { 134 Overwrite( 135 schedule.GetOffset(), 136 GetLong( schedule.GetOffset() ) + dataSectionBaseOffset 137 ); 138 } 139 } 140 }
Note:
See TracChangeset
for help on using the changeset viewer.