diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-02 05:07:53 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-04-02 05:07:53 +0000 |
commit | ad5741b075518e840d4ef55bffe3e3cbf41c370b (patch) | |
tree | e9790c9f5f0f440bcc79fc8e5fcc9fc13ce143b6 /llvm/lib/IR/ModuleSummaryIndex.cpp | |
parent | 2cd609482d0e5c8b4bd6cc32d3fd40cb2bfb6d91 (diff) | |
download | bcm5719-llvm-ad5741b075518e840d4ef55bffe3e3cbf41c370b.tar.gz bcm5719-llvm-ad5741b075518e840d4ef55bffe3e3cbf41c370b.zip |
Create a typedef GlobalValue::GUID for uint64_t and RAUW (NFC)
Summary: This should make the code more readable, especially all the map declarations.
Reviewers: tejohnson
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D18721
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 265215
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r-- | llvm/lib/IR/ModuleSummaryIndex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp index c23e072b48a..5effc65158d 100644 --- a/llvm/lib/IR/ModuleSummaryIndex.cpp +++ b/llvm/lib/IR/ModuleSummaryIndex.cpp @@ -23,7 +23,7 @@ void ModuleSummaryIndex::mergeFrom(std::unique_ptr<ModuleSummaryIndex> Other, StringRef ModPath; for (auto &OtherGlobalValInfoLists : *Other) { - uint64_t ValueGUID = OtherGlobalValInfoLists.first; + GlobalValue::GUID ValueGUID = OtherGlobalValInfoLists.first; GlobalValueInfoList &List = OtherGlobalValInfoLists.second; // Assert that the value info list only has one entry, since we shouldn't |