aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/LiveValues.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Analysis/LiveValues.cpp')
-rw-r--r--lib/Analysis/LiveValues.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/LiveValues.cpp b/lib/Analysis/LiveValues.cpp
index 2bbe98a..02ec7d3 100644
--- a/lib/Analysis/LiveValues.cpp
+++ b/lib/Analysis/LiveValues.cpp
@@ -17,7 +17,9 @@
#include "llvm/Analysis/LoopInfo.h"
using namespace llvm;
-FunctionPass *llvm::createLiveValuesPass() { return new LiveValues(); }
+namespace llvm {
+ FunctionPass *createLiveValuesPass() { return new LiveValues(); }
+}
char LiveValues::ID = 0;
static RegisterPass<LiveValues>