Changeset 636 in dev for trunk/ab5.0/abdev/ab_common/src/Lexical/NativeCode.cpp
- Timestamp:
- Jun 10, 2008, 11:40:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/ab_common/src/Lexical/NativeCode.cpp
r603 r636 45 45 sourceLine.GetLineNum(), 46 46 baseOffset + sourceLine.GetNativeCodePos(), 47 sourceLine.Get SourceIndex(),47 sourceLine.GetRelationalObjectModuleIndex(), // TODO: 複数libの取り込みを想定できていない(ソースコード行番号とネイティブコード位置の対応情報の追加は静的リンクが完了した後に行うべき) 48 48 sourceLine.GetSourceCodePos(), 49 49 sourceLine.GetCodeType() … … 152 152 } 153 153 } 154 void NativeCode::ResetSourceIndexes( long sourceIndexBase )154 void NativeCode::ResetSourceIndexes( const std::vector<int> &relationTable ) 155 155 { 156 156 BOOST_FOREACH( SourceLine &sourceLine, sourceLines ) 157 157 { 158 sourceLine.Set SourceIndex( sourceLine.GetSourceIndex() + sourceIndexBase);158 sourceLine.SetRelationalObjectModuleIndex( relationTable[sourceLine.GetRelationalObjectModuleIndex()] ); 159 159 } 160 160 }
Note:
See TracChangeset
for help on using the changeset viewer.