mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 14:17:59 +00:00
some nits noticed by Duncan
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
224cef60f4
commit
312e23485b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user