mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 20:44:51 +00:00
Add comments
llvm-svn: 10658
This commit is contained in:
parent
fe95ceadaf
commit
726d13c4d1
@ -585,7 +585,10 @@ public:
|
|||||||
return I;
|
return I;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// finishRefinement - This method is called after we have updated an existing
|
||||||
|
/// type with its new components. We must now either merge the type away with
|
||||||
|
/// some other type or reinstall it in the map with it's new configuration.
|
||||||
|
/// The specified iterator tells us what the type USED to look like.
|
||||||
void finishRefinement(iterator TyIt) {
|
void finishRefinement(iterator TyIt) {
|
||||||
TypeClass *Ty = TyIt->second;
|
TypeClass *Ty = TyIt->second;
|
||||||
|
|
||||||
@ -594,7 +597,7 @@ public:
|
|||||||
Map.erase(TyIt);
|
Map.erase(TyIt);
|
||||||
|
|
||||||
// Determine whether there is a cycle through the type graph which passes
|
// Determine whether there is a cycle through the type graph which passes
|
||||||
// back through this type. Other cycles are ok,
|
// back through this type. Other cycles are ok though.
|
||||||
bool HasTypeCycle = false;
|
bool HasTypeCycle = false;
|
||||||
{
|
{
|
||||||
std::set<const Type*> VisitedTypes;
|
std::set<const Type*> VisitedTypes;
|
||||||
|
Loading…
Reference in New Issue
Block a user