aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/MemoryDependenceAnalysis.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-07-10 20:21:08 +0000
committerOwen Anderson <resistor@mac.com>2007-07-10 20:21:08 +0000
commit776ee1fb338b65defc5cb0c85b20a4fc5122a633 (patch)
treed2b356245c0598ca8d725be7e4d72e52d4b9441d /lib/Analysis/MemoryDependenceAnalysis.cpp
parent16a72bb47d88ebf4da7e06521382f69bc7712418 (diff)
downloadexternal_llvm-776ee1fb338b65defc5cb0c85b20a4fc5122a633.zip
external_llvm-776ee1fb338b65defc5cb0c85b20a4fc5122a633.tar.gz
external_llvm-776ee1fb338b65defc5cb0c85b20a4fc5122a633.tar.bz2
Make this pass registration static as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38509 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp
index 31a3e02..af105cc 100644
--- a/lib/Analysis/MemoryDependenceAnalysis.cpp
+++ b/lib/Analysis/MemoryDependenceAnalysis.cpp
@@ -29,8 +29,8 @@ Instruction* MemoryDependenceAnalysis::NonLocal = (Instruction*)0;
Instruction* MemoryDependenceAnalysis::None = (Instruction*)~0;
// Register this pass...
-RegisterPass<MemoryDependenceAnalysis> X("memdep",
- "Memory Dependence Analysis");
+static RegisterPass<MemoryDependenceAnalysis> X("memdep",
+ "Memory Dependence Analysis");
/// getAnalysisUsage - Does not modify anything. It uses Alias Analysis.
///