Fix comment.

llvm-svn: 75471
This commit is contained in:
Devang Patel 2009-07-13 16:15:54 +00:00
parent 63bdb56274
commit 290b052d43
1 changed files with 1 additions and 1 deletions

View File

@ -732,7 +732,7 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty,
if (Ty.isNull()) if (Ty.isNull())
return llvm::DIType(); return llvm::DIType();
// Check to see if the compile unit already has created this type. // Check TypeCache first.
llvm::DIType &Slot = TypeCache[Ty.getAsOpaquePtr()]; llvm::DIType &Slot = TypeCache[Ty.getAsOpaquePtr()];
if (!Slot.isNull()) return Slot; if (!Slot.isNull()) return Slot;