mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
Remove dead code. NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267069 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46d5ec0afd
commit
cfbb8a788e
@ -66,10 +66,6 @@ std::error_code checkOffset(MemoryBufferRef M, ArrayRef<T> AR) {
|
||||
return checkOffset(M, uintptr_t(AR.data()), (uint64_t)AR.size() * sizeof(T));
|
||||
}
|
||||
|
||||
std::error_code checkOffset(MemoryBufferRef M, StringRef SR) {
|
||||
return checkOffset(M, uintptr_t(SR.data()), SR.size());
|
||||
}
|
||||
|
||||
uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) {
|
||||
return alignTo(NumBytes, BlockSize) / BlockSize;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user