[llvm-commits] CVS: llvm/include/llvm/Target/MachineSchedInfo.h
Chris Lattner
lattner at cs.uiuc.edu
Mon Oct 28 17:55:02 PST 2002
Changes in directory llvm/include/llvm/Target:
MachineSchedInfo.h updated: 1.11 -> 1.12
---
Log message:
Minor cleanups, remove noncopyable so dot doesn't cluster unrelated stuff
---
Diffs of the changes:
Index: llvm/include/llvm/Target/MachineSchedInfo.h
diff -u llvm/include/llvm/Target/MachineSchedInfo.h:1.11 llvm/include/llvm/Target/MachineSchedInfo.h:1.12
--- llvm/include/llvm/Target/MachineSchedInfo.h:1.11 Sun Oct 27 22:53:18 2002
+++ llvm/include/llvm/Target/MachineSchedInfo.h Mon Oct 28 17:54:23 2002
@@ -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 @@
// Common interface to machine information for instruction scheduling
//---------------------------------------------------------------------------
-class MachineSchedInfo : public NonCopyableV {
+class MachineSchedInfo {
public:
const TargetMachine& target;
@@ -200,7 +201,10 @@
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,
More information about the llvm-commits
mailing list