Changeset 288 in dev for trunk/abdev/BasicCompiler_Common/src/Meta.cpp
- Timestamp:
- Aug 17, 2007, 7:36:51 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/src/Meta.cpp
r287 r288 82 82 83 83 // グローバル変数 84 long initAreaBaseOffset = this->globalVars.initAreaBuffer.GetSize(); 84 85 BOOST_FOREACH( Variable *pVar, meta.globalVars ) 85 86 { … … 94 95 { 95 96 // 初期バッファがあるときはデータテーブルオフセットを適用する 96 pVar->SetOffsetAddress( pVar->GetOffsetAddress() + dataSectionBaseOffset );97 pVar->SetOffsetAddress( pVar->GetOffsetAddress() + initAreaBaseOffset ); 97 98 98 99 isResetOffsetAddress = false; … … 103 104 } 104 105 meta.globalVars.PullOutAll(); 106 this->globalVars.initAreaBuffer.Put( 107 meta.globalVars.initAreaBuffer.GetBuffer(), 108 meta.globalVars.initAreaBuffer.GetSize() 109 ); 105 110 106 111 // グローバル定数
Note:
See TracChangeset
for help on using the changeset viewer.