mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +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'"
|
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 {
|
class PassManagerPrettyStackEntry : public PrettyStackTraceEntry {
|
||||||
Pass *P;
|
Pass *P;
|
||||||
Value *V;
|
Value *V;
|
||||||
@ -125,7 +126,7 @@ public:
|
|||||||
PassManagerPrettyStackEntry(Pass *p, Value &v)
|
PassManagerPrettyStackEntry(Pass *p, Value &v)
|
||||||
: P(p), V(&v), M(0) {} // When P is run on V
|
: P(p), V(&v), M(0) {} // When P is run on V
|
||||||
PassManagerPrettyStackEntry(Pass *p, Module &m)
|
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.
|
/// print - Emit information about this stack frame to OS.
|
||||||
virtual void print(raw_ostream &OS) const;
|
virtual void print(raw_ostream &OS) const;
|
||||||
|
Loading…
Reference in New Issue
Block a user