summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-28 23:54:23 +0000
committerChris Lattner <sabre@nondot.org>2002-10-28 23:54:23 +0000
commitde0e87bb83a575d414bcdabfab8839669df181c5 (patch)
tree80d6084da7b8ae4b652825edcf9f42d682f7e48a /include
parent2cc214c06cbb94f95928636981c9805d6300cff1 (diff)
downloadllvm-de0e87bb83a575d414bcdabfab8839669df181c5.tar.gz
llvm-de0e87bb83a575d414bcdabfab8839669df181c5.tar.bz2
llvm-de0e87bb83a575d414bcdabfab8839669df181c5.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetSchedInfo.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetSchedInfo.h b/include/llvm/Target/TargetSchedInfo.h
index 9d894751d2..293835cefa 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 <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,