Remove dependence on llvm::ReferenceAdder, which no longer

exists.

Swift SVN r16624
This commit is contained in:
John McCall
2014-04-21 21:24:44 +00:00
parent 94698bc469
commit 8c4b7f6e21

View File

@@ -306,9 +306,8 @@ public:
}
/// Access to the allocator.
typedef typename llvm::ReferenceAdder<AllocatorTy>::result AllocatorRefTy;
typedef typename llvm::ReferenceAdder<const AllocatorTy>::result
AllocatorCRefTy;
typedef AllocatorTy &AllocatorRefTy;
typedef const AllocatorTy &AllocatorCRefTy;
AllocatorRefTy getAllocator() { return Allocator; }
AllocatorCRefTy getAllocator() const { return Allocator; }