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:
Evan Cheng
2010-06-09 18:59:43 +00:00
parent d8ab9b415d
commit 1d451dff63
3 changed files with 172 additions and 91 deletions

View File

@@ -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;
};
}