projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3330e5b
)
Tighten up the AnalysisUsage of lots of passes, primarily to correctly indicate wheth...
author
Chris Lattner
<sabre@nondot.org>
Sun, 28 Apr 2002 21:26:51 +0000
(21:26 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 28 Apr 2002 21:26:51 +0000
(21:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2385
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Assembly/PrintModulePass.h
patch
|
blob
|
history
diff --git
a/include/llvm/Assembly/PrintModulePass.h
b/include/llvm/Assembly/PrintModulePass.h
index fbab4e4a4507052d7781f714d856f6f53f2bb560..2d63e6d74f12b3c4517ede59abb6ccbefa3d7e65 100644
(file)
--- a/
include/llvm/Assembly/PrintModulePass.h
+++ b/
include/llvm/Assembly/PrintModulePass.h
@@
-31,6
+31,10
@@
public:
(*Out) << M;
return false;
}
+
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesAll();
+ }
};
class PrintFunctionPass : public FunctionPass {
@@
-54,6
+58,10
@@
public:
(*Out) << Banner << (Value*)F;
return false;
}
+
+ virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ AU.setPreservesAll();
+ }
};
#endif