mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Revert 105540, 105542, 105544, 105546, and 105548 to unbreak bootstrapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105740 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -54,10 +54,6 @@ namespace llvm {
|
||||
/// The ScalarEvolution's BumpPtrAllocator holds the data.
|
||||
FoldingSetNodeIDRef FastID;
|
||||
|
||||
/// AllocationSequenceNumber - This is used as a deterministic tie
|
||||
/// breaker when sorting SCEVs.
|
||||
unsigned AllocationSequenceNumber;
|
||||
|
||||
// The SCEV baseclass this node corresponds to
|
||||
const unsigned short SCEVType;
|
||||
|
||||
@@ -72,18 +68,11 @@ namespace llvm {
|
||||
protected:
|
||||
virtual ~SCEV();
|
||||
public:
|
||||
explicit SCEV(const FoldingSetNodeIDRef ID, unsigned num, unsigned SCEVTy) :
|
||||
FastID(ID), AllocationSequenceNumber(num),
|
||||
SCEVType(SCEVTy), SubclassData(0) {}
|
||||
explicit SCEV(const FoldingSetNodeIDRef ID, unsigned SCEVTy) :
|
||||
FastID(ID), SCEVType(SCEVTy), SubclassData(0) {}
|
||||
|
||||
unsigned getSCEVType() const { return SCEVType; }
|
||||
|
||||
/// getAllocationSequenceNumber - Return an arbitrary value which can be
|
||||
/// used to deterministically order a sequence of SCEVs.
|
||||
unsigned getAllocationSequenceNumber() const {
|
||||
return AllocationSequenceNumber;
|
||||
}
|
||||
|
||||
/// Profile - FoldingSet support.
|
||||
void Profile(FoldingSetNodeID& ID) { ID = FastID; }
|
||||
|
||||
@@ -678,7 +667,6 @@ namespace llvm {
|
||||
private:
|
||||
FoldingSet<SCEV> UniqueSCEVs;
|
||||
BumpPtrAllocator SCEVAllocator;
|
||||
unsigned CurAllocationSequenceNumber;
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user