diff --git a/include/llvm/CodeGen/SchedGraphCommon.h b/include/llvm/CodeGen/SchedGraphCommon.h index 58bfc7d95a2..5e814137bcb 100644 --- a/include/llvm/CodeGen/SchedGraphCommon.h +++ b/include/llvm/CodeGen/SchedGraphCommon.h @@ -72,7 +72,6 @@ public: virtual void print(std::ostream &os) const = 0; protected: - friend class SchedGraph; friend class SchedGraphCommon; friend class SchedGraphEdge; // give access for adding edges