)\r
{\r
SIfrRecord *pNode;\r
+ SIfrRecord *Prev;\r
\r
if ((pNode = GetRecordInfoFromIdx (RecordIdx)) == NULL) {\r
return;\r
}\r
\r
+ if (LineNo == 0) {\r
+ //\r
+ // Line number is not specified explicitly, try to use line number of previous opcode\r
+ //\r
+ Prev = GetRecordInfoFromIdx (RecordIdx - 1);\r
+ if (Prev != NULL) {\r
+ LineNo = Prev->mLineNo;\r
+ }\r
+ }\r
+\r
pNode->mLineNo = LineNo;\r
pNode->mOffset = Offset;\r
pNode->mBinBufLen = BinBufLen;\r