summaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/IntervalPartition.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/IntervalPartition.h')
-rw-r--r--include/llvm/Analysis/IntervalPartition.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/IntervalPartition.h b/include/llvm/Analysis/IntervalPartition.h
index 8b85e7c..855e3a4 100644
--- a/include/llvm/Analysis/IntervalPartition.h
+++ b/include/llvm/Analysis/IntervalPartition.h
@@ -49,6 +49,9 @@ public:
IntervalPartition() : FunctionPass((intptr_t)&ID), RootInterval(0) {}
+ /// isAnalysis - Return true if this pass is implementing an analysis pass.
+ virtual bool isAnalysis() const { return true; }
+
// run - Calculate the interval partition for this function
virtual bool runOnFunction(Function &F);