From ad5741b075518e840d4ef55bffe3e3cbf41c370b Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Sat, 2 Apr 2016 05:07:53 +0000 Subject: 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 llvm-svn: 265215 --- llvm/lib/IR/ModuleSummaryIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp') 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 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 -- cgit v1.2.3