diff options
author | Eric Liu <ioeric@google.com> | 2017-05-04 12:05:40 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2017-05-04 12:05:40 +0000 |
commit | b064f6b0ad9bad35e50b5f08374d40161e1702b2 (patch) | |
tree | ee278e9e07b981992bfd02ae5b01f7ee8b393ac0 /clang/lib | |
parent | f6039f255e0f85224c37a228a3cb6659b351796e (diff) | |
download | bcm5719-llvm-b064f6b0ad9bad35e50b5f08374d40161e1702b2.tar.gz bcm5719-llvm-b064f6b0ad9bad35e50b5f08374d40161e1702b2.zip |
Revert "IR: Use pointers instead of GUIDs to represent edges in the module summary. NFCI."
This reverts commit r302108.
llvm-svn: 302141
Diffstat (limited to 'clang/lib')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index fb1f4fc48d8..03883805199 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -975,9 +975,9 @@ static void runThinLTOBackend(ModuleSummaryIndex *CombinedIndex, Module *M, FunctionImporter::ImportMapTy ImportList; for (auto &GlobalList : *CombinedIndex) { auto GUID = GlobalList.first; - assert(GlobalList.second.SummaryList.size() == 1 && + assert(GlobalList.second.size() == 1 && "Expected individual combined index to have one summary per GUID"); - auto &Summary = GlobalList.second.SummaryList[0]; + auto &Summary = GlobalList.second[0]; // Skip the summaries for the importing module. These are included to // e.g. record required linkage changes. if (Summary->modulePath() == M->getModuleIdentifier()) |