forked from OSchip/llvm-project
Pull EmitRecord() out of loop. It should be called only once.
llvm-svn: 72252
This commit is contained in:
parent
5b34933b90
commit
5a187dd21e
|
@ -758,8 +758,8 @@ void PCHWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
|
|||
Record.push_back((unsigned)LE->FileKind);
|
||||
Record.push_back(LE->IncludeOffset);
|
||||
}
|
||||
Stream.EmitRecord(pch::SM_LINE_TABLE, Record);
|
||||
}
|
||||
Stream.EmitRecord(pch::SM_LINE_TABLE, Record);
|
||||
}
|
||||
|
||||
// Write out entries for all of the header files we know about.
|
||||
|
|
Loading…
Reference in New Issue