diff --git a/lib/Analysis/MemoryDependenceAnalysis.cpp b/lib/Analysis/MemoryDependenceAnalysis.cpp index 31a3e02b367..af105ccb06b 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 X("memdep", - "Memory Dependence Analysis"); +static RegisterPass X("memdep", + "Memory Dependence Analysis"); /// getAnalysisUsage - Does not modify anything. It uses Alias Analysis. ///