1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Fix printing error.

llvm-svn: 305240
This commit is contained in:
Zachary Turner 2017-06-12 22:08:03 +00:00
parent 573db15cd2
commit 07bcf68edb

View File

@ -300,9 +300,9 @@ public:
private:
Error dumpTypeRecord(StringRef Label, TypeIndex Index) {
bool Success = false;
DictScope D(P, Label);
if (IPI) {
CompactTypeDumpVisitor CTDV(*IPI, Index, &P);
DictScope D(P, Label);
if (IPI->contains(Index)) {
CVType Type = IPI->getType(Index);
if (auto EC = codeview::visitTypeRecord(Type, CTDV))