mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-19 04:32:19 +00:00
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
This commit is contained in:
parent
2cc214c06c
commit
de0e87bb83
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include "llvm/Target/MachineInstrInfo.h"
|
#include "llvm/Target/MachineInstrInfo.h"
|
||||||
#include "Support/hash_map"
|
#include "Support/hash_map"
|
||||||
|
#include <string>
|
||||||
|
|
||||||
typedef long long cycles_t;
|
typedef long long cycles_t;
|
||||||
static const cycles_t HUGE_LATENCY = ~((long long) 1 << (sizeof(cycles_t)-2));
|
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
|
// Common interface to machine information for instruction scheduling
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
class MachineSchedInfo : public NonCopyableV {
|
class MachineSchedInfo {
|
||||||
public:
|
public:
|
||||||
const TargetMachine& target;
|
const TargetMachine& target;
|
||||||
|
|
||||||
@ -200,7 +201,10 @@ protected:
|
|||||||
assert(sc < numSchedClasses);
|
assert(sc < numSchedClasses);
|
||||||
return classRUsages[sc];
|
return classRUsages[sc];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
|
MachineSchedInfo(const MachineSchedInfo &); // DO NOT IMPLEMENT
|
||||||
|
void operator=(const MachineSchedInfo &); // DO NOT IMPLEMENT
|
||||||
public:
|
public:
|
||||||
/*ctor*/ MachineSchedInfo (const TargetMachine& tgt,
|
/*ctor*/ MachineSchedInfo (const TargetMachine& tgt,
|
||||||
int _numSchedClasses,
|
int _numSchedClasses,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user