aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/PassManagerT.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/VMCore/PassManagerT.h b/lib/VMCore/PassManagerT.h
index 8de22d4..9cd38b9 100644
--- a/lib/VMCore/PassManagerT.h
+++ b/lib/VMCore/PassManagerT.h
@@ -142,12 +142,12 @@ class PassManagerT : public PassManagerTraits<UnitType>,public AnalysisResolver{
typedef typename Traits::BatcherClass BatcherClass;
typedef typename Traits::ParentClass ParentClass;
-#ifndef _MSC_VER
- friend class PassManagerTraits<UnitType>::PassClass;
- friend class PassManagerTraits<UnitType>::SubPassClass;
-#else
+#if defined(_MSC_VER) || defined(__INTEL_COMPILER)
friend PassClass;
friend SubPassClass;
+#else
+ friend class PassManagerTraits<UnitType>::PassClass;
+ friend class PassManagerTraits<UnitType>::SubPassClass;
#endif
friend class PassManagerTraits<UnitType>;
friend class ImmutablePass;