From de0e87bb83a575d414bcdabfab8839669df181c5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 28 Oct 2002 23:54:23 +0000 Subject: [PATCH] Minor cleanups, remove noncopyable so dot doesn't cluster unrelated stuff git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4365 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Target/TargetSchedInfo.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h index 9d894751d23..293835cefa6 100644 --- a/include/llvm/Target/TargetSchedInfo.h +++ b/include/llvm/Target/TargetSchedInfo.h @@ -9,6 +9,7 @@ #include "llvm/Target/MachineInstrInfo.h" #include "Support/hash_map" +#include typedef long long cycles_t; static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2)); @@ -174,7 +175,7 @@ private: // Common interface to machine information for instruction scheduling //--------------------------------------------------------------------------- -class MachineSchedInfo : public NonCopyableV { +class MachineSchedInfo { public: const TargetMachine& target; @@ -200,7 +201,10 @@ protected: assert(sc < numSchedClasses); return classRUsages[sc]; } - + +private: + MachineSchedInfo(const MachineSchedInfo &); // DO NOT IMPLEMENT + void operator=(const MachineSchedInfo &); // DO NOT IMPLEMENT public: /*ctor*/ MachineSchedInfo (const TargetMachine& tgt, int _numSchedClasses,