summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-02 20:37:47 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-02 20:37:47 +0000
commit41223586a2d1cfc04bb6382aec67c086041afd73 (patch)
tree59a1f3803ef09f1e93af2ce25d30c545cba352a6 /llvm/lib/Transforms/Instrumentation
parentf1dcf69fc38e12100fa62a56f97dea269023ebe5 (diff)
downloadbcm5719-llvm-41223586a2d1cfc04bb6382aec67c086041afd73.tar.gz
bcm5719-llvm-41223586a2d1cfc04bb6382aec67c086041afd73.zip
Fix build error.
llvm-svn: 36648
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation')
-rw-r--r--llvm/lib/Transforms/Instrumentation/RSProfiling.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp b/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
index ad9a841cb0d..321e3908e06 100644
--- a/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/RSProfiling.cpp
@@ -81,9 +81,7 @@ namespace {
}
};
- const int RSProfilers::ID = 0;
static RegisterAnalysisGroup<RSProfilers> A("Profiling passes");
- const int NullProfilerRS::ID = 0;
static RegisterPass<NullProfilerRS> NP("insert-null-profiling-rs",
"Measure profiling framework overhead");
static RegisterAnalysisGroup<RSProfilers, true> NPT(NP);
@@ -160,11 +158,14 @@ namespace {
virtual void getAnalysisUsage(AnalysisUsage &AU) const;
};
- const int ProfilerRS::ID = 0;
RegisterPass<ProfilerRS> X("insert-rs-profiling-framework",
"Insert random sampling instrumentation framework");
}
+const int RSProfilers::ID = 0;
+const int NullProfilerRS::ID = 0;
+const int ProfilerRS::ID = 0;
+
//Local utilities
static void ReplacePhiPred(BasicBlock* btarget,
BasicBlock* bold, BasicBlock* bnew);
OpenPOWER on IntegriCloud