Fix spelling of "hierarchy" in comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53489 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2008-07-11 22:51:32 +00:00
parent e4f1a7e8ff
commit e6acf36dca
3 changed files with 5 additions and 5 deletions

View File

@ -68,7 +68,7 @@ class LoopPass : public Pass {
/// SimpleAnalysis - Provides simple interface to update analysis info /// SimpleAnalysis - Provides simple interface to update analysis info
/// maintained by various passes. Note, if required this interface can /// maintained by various passes. Note, if required this interface can
/// be extracted into a separate abstract class but it would require /// be extracted into a separate abstract class but it would require
/// additional use of multiple inheritance in Pass class hierarcy, something /// additional use of multiple inheritance in Pass class hierarchy, something
/// we are trying to avoid. /// we are trying to avoid.
/// Each loop pass can override these simple analysis hooks to update /// Each loop pass can override these simple analysis hooks to update
@ -134,7 +134,7 @@ public:
/// SimpleAnalysis - Provides simple interface to update analysis info /// SimpleAnalysis - Provides simple interface to update analysis info
/// maintained by various passes. Note, if required this interface can /// maintained by various passes. Note, if required this interface can
/// be extracted into a separate abstract class but it would require /// be extracted into a separate abstract class but it would require
/// additional use of multiple inheritance in Pass class hierarcy, something /// additional use of multiple inheritance in Pass class hierarchy, something
/// we are trying to avoid. /// we are trying to avoid.
/// cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for /// cloneBasicBlockSimpleAnalysis - Invoke cloneBasicBlockAnalysis hook for

View File

@ -28,8 +28,8 @@
// //
// Pass Manager Infrastructure uses multiple pass managers. They are // Pass Manager Infrastructure uses multiple pass managers. They are
// PassManager, FunctionPassManager, MPPassManager, FPPassManager, BBPassManager. // PassManager, FunctionPassManager, MPPassManager, FPPassManager, BBPassManager.
// This class hierarcy uses multiple inheritance but pass managers do not derive // This class hierarchy uses multiple inheritance but pass managers do not
// from another pass manager. // derive from another pass manager.
// //
// PassManager and FunctionPassManager are two top-level pass manager that // PassManager and FunctionPassManager are two top-level pass manager that
// represents the external interface of this entire pass manager infrastucture. // represents the external interface of this entire pass manager infrastucture.

View File

@ -32,7 +32,7 @@ LPPassManager::LPPassManager(int Depth)
CurrentLoop = NULL; CurrentLoop = NULL;
} }
/// Delete loop from the loop queue and loop hierarcy (LoopInfo). /// Delete loop from the loop queue and loop hierarchy (LoopInfo).
void LPPassManager::deleteLoopFromQueue(Loop *L) { void LPPassManager::deleteLoopFromQueue(Loop *L) {
if (Loop *ParentLoop = L->getParentLoop()) { // Not a top-level loop. if (Loop *ParentLoop = L->getParentLoop()) { // Not a top-level loop.