Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions llvm/lib/CAS/OnDiskGraphDB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -452,13 +452,6 @@ Expected<DataRecordHandle> DataRecordHandle::createWithError(
return Mem.takeError();
}

DataRecordHandle
DataRecordHandle::create(function_ref<char *(size_t Size)> 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));
Expand Down Expand Up @@ -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>
DataRecordHandle::getFromDataPool(const OnDiskDataAllocator &Pool,
FileOffset Offset) {
Expand Down