Minor cleanups, remove noncopyable so dot doesn't cluster unrelated stuff
authorChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 23:54:23 +0000 (23:54 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 28 Oct 2002 23:54:23 +0000 (23:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4365 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetSchedInfo.h

index 9d894751d23f25e949293ee896c521b5a8d5bafd..293835cefa64ba48c79fb12e5f7ba20471e38cb3 100644 (file)
@@ -9,6 +9,7 @@
 
 #include "llvm/Target/MachineInstrInfo.h"
 #include "Support/hash_map"
+#include <string>
 
 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,