summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-10-24 08:59:58 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-10-24 08:59:58 +0000
commit9465a1a580dae68f31267758b819d3f77b252a03 (patch)
tree99b85e3b8947fe4e8b49d3ff8373e43056e6a021 /llvm/lib/IR/ModuleSummaryIndex.cpp
parentc523036fd21c6d15a05ee72a731f56845c5f6524 (diff)
downloadbcm5719-llvm-9465a1a580dae68f31267758b819d3f77b252a03.tar.gz
bcm5719-llvm-9465a1a580dae68f31267758b819d3f77b252a03.zip
[ThinLTO] Change parameter type. NFC
Change destination module type for consistency with r345118 llvm-svn: 345124
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r--llvm/lib/IR/ModuleSummaryIndex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp
index 02661915b2c..d4368413584 100644
--- a/llvm/lib/IR/ModuleSummaryIndex.cpp
+++ b/llvm/lib/IR/ModuleSummaryIndex.cpp
@@ -242,7 +242,7 @@ void ModuleSummaryIndex::exportToDot(raw_ostream& OS) const {
};
auto DrawEdge = [&](const char *Pfx, uint64_t SrcMod, GlobalValue::GUID SrcId,
- int DstMod, GlobalValue::GUID DstId, int TypeOrHotness) {
+ uint64_t DstMod, GlobalValue::GUID DstId, int TypeOrHotness) {
// 0 corresponds to alias edge, 1 to ref edge, 2 to call with unknown
// hotness, ...
TypeOrHotness += 2;
OpenPOWER on IntegriCloud