summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-06 17:05:04 +0000
committerChris Lattner <sabre@nondot.org>2009-03-06 17:05:04 +0000
commit040ce02174ce44ab605969106b7e1627931fe10b (patch)
tree328855e870dd2e4f09a54d54ebe6dd7b5a83a6e0
parenta59518276e4a1a87de974551696160ba4c980cce (diff)
downloadbcm5719-llvm-040ce02174ce44ab605969106b7e1627931fe10b.tar.gz
bcm5719-llvm-040ce02174ce44ab605969106b7e1627931fe10b.zip
some nits noticed by Duncan
llvm-svn: 66274
-rw-r--r--llvm/include/llvm/PassManagers.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/PassManagers.h b/llvm/include/llvm/PassManagers.h
index 6e4f94697b9..fbf28f36e8c 100644
--- a/llvm/include/llvm/PassManagers.h
+++ b/llvm/include/llvm/PassManagers.h
@@ -114,7 +114,8 @@ enum PassDebuggingString {
ON_CG_MSG // "' on Call Graph ...\n'"
};
-/// PassManagerPrettyStackEntry - This is used
+/// PassManagerPrettyStackEntry - This is used to print informative information
+/// about what pass is running when/if a stack trace is generated.
class PassManagerPrettyStackEntry : public PrettyStackTraceEntry {
Pass *P;
Value *V;
@@ -125,7 +126,7 @@ public:
PassManagerPrettyStackEntry(Pass *p, Value &v)
: P(p), V(&v), M(0) {} // When P is run on V
PassManagerPrettyStackEntry(Pass *p, Module &m)
- : P(p), V(0), M(&m) {}// When P is run on M
+ : P(p), V(0), M(&m) {} // When P is run on M
/// print - Emit information about this stack frame to OS.
virtual void print(raw_ostream &OS) const;
OpenPOWER on IntegriCloud