aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/PassManagers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/PassManagers.h')
-rw-r--r--include/llvm/PassManagers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/PassManagers.h b/include/llvm/PassManagers.h
index 04bb48b..5bf4dfb 100644
--- a/include/llvm/PassManagers.h
+++ b/include/llvm/PassManagers.h
@@ -146,7 +146,7 @@ class PMTopLevelManager {
public:
virtual unsigned getNumContainedManagers() {
- return PassManagers.size();
+ return (unsigned)PassManagers.size();
}
/// Schedule pass P for execution. Make sure that passes required by
@@ -306,7 +306,7 @@ public:
const std::vector<AnalysisID> &Set) const;
virtual unsigned getNumContainedPasses() {
- return PassVector.size();
+ return (unsigned)PassVector.size();
}
virtual PassManagerType getPassManagerType() const {