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:
36c5155
)
Make the pass registration static.
author
Owen Anderson
<resistor@mac.com>
Tue, 10 Jul 2007 20:20:19 +0000
(20:20 +0000)
committer
Owen Anderson
<resistor@mac.com>
Tue, 10 Jul 2007 20:20:19 +0000
(20:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38508
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/GVNPRE.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/GVNPRE.cpp
b/lib/Transforms/Scalar/GVNPRE.cpp
index 96870e3fdf2096ddd5ba9f80350b86de2f41f326..e625fc224be64fca965d84de918ecf076c82b9f1 100644
(file)
--- a/
lib/Transforms/Scalar/GVNPRE.cpp
+++ b/
lib/Transforms/Scalar/GVNPRE.cpp
@@
-680,8
+680,8
@@
namespace {
// createGVNPREPass - The public interface to this file...
FunctionPass *llvm::createGVNPREPass() { return new GVNPRE(); }
-RegisterPass<GVNPRE> X("gvnpre",
- "Global Value Numbering/Partial Redundancy Elimination");
+
static
RegisterPass<GVNPRE> X("gvnpre",
+
"Global Value Numbering/Partial Redundancy Elimination");
STATISTIC(NumInsertedVals, "Number of values inserted");