Revert "[CLANG UPDATE!] Update uses of OnDiskChainedHashTable to the"

This reverts commit 7cb76d7defd3ca5c808d7f8952b6068c10cbce92.

I missed a ClangModuleImporter test failure.

Swift SVN r16338
This commit is contained in:
Adrian Prantl
2014-04-14 22:37:00 +00:00
parent ada9ebb7a9
commit 2ebd5c743f
4 changed files with 11 additions and 14 deletions

View File

@@ -245,8 +245,7 @@ ModuleFile::readDeclTable(ArrayRef<uint64_t> fields, StringRef blobData) {
auto base = reinterpret_cast<const uint8_t *>(blobData.data());
using OwnedTable = std::unique_ptr<SerializedDeclTable>;
return OwnedTable(SerializedDeclTable::Create(base + tableOffset,
base + sizeof(uint32_t), base));
return OwnedTable(SerializedDeclTable::Create(base + tableOffset, base));
}
static Optional<KnownProtocolKind> getActualKnownProtocol(unsigned rawKind) {
@@ -438,9 +437,8 @@ ModuleFile::readDeclCommentTable(ArrayRef<uint64_t> fields,
auto base = reinterpret_cast<const uint8_t *>(blobData.data());
return std::unique_ptr<SerializedDeclCommentTable>(
SerializedDeclCommentTable::Create(base + tableOffset,
base + sizeof(uint32_t), base,
DeclCommentTableInfo(*this)));
SerializedDeclCommentTable::Create(base + tableOffset, base,
DeclCommentTableInfo(*this)));
}
bool ModuleFile::readCommentBlock(llvm::BitstreamCursor &cursor) {