diff --git a/llvm/lib/CAS/OnDiskGraphDB.cpp b/llvm/lib/CAS/OnDiskGraphDB.cpp index 2aede017133b0..84f27c4938050 100644 --- a/llvm/lib/CAS/OnDiskGraphDB.cpp +++ b/llvm/lib/CAS/OnDiskGraphDB.cpp @@ -452,13 +452,6 @@ Expected DataRecordHandle::createWithError( return Mem.takeError(); } -DataRecordHandle -DataRecordHandle::create(function_ref Alloc, - const Input &I) { - Layout L(I); - return constructImpl(Alloc(L.getTotalSize()), I, L); -} - ObjectHandle ObjectHandle::fromFileOffset(FileOffset Offset) { // Store the file offset as it is. assert(!(Offset.get() & 0x1)); @@ -621,10 +614,6 @@ bool TrieRecord::compare_exchange_strong(Data &Existing, Data New) { return false; } -DataRecordHandle DataRecordHandle::construct(char *Mem, const Input &I) { - return constructImpl(Mem, I, Layout(I)); -} - Expected DataRecordHandle::getFromDataPool(const OnDiskDataAllocator &Pool, FileOffset Offset) {