[PATCH] D46962: make GlobalValueSummary::getOriginalName() a const function
Aditya Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 16 10:22:20 PDT 2018
hiraditya created this revision.
hiraditya added reviewers: mehdi_amini, pcc, craig.topper.
https://reviews.llvm.org/D46962
Files:
include/llvm/IR/ModuleSummaryIndex.h
Index: include/llvm/IR/ModuleSummaryIndex.h
===================================================================
--- include/llvm/IR/ModuleSummaryIndex.h
+++ include/llvm/IR/ModuleSummaryIndex.h
@@ -199,7 +199,7 @@
/// Returns the hash of the original name, it is identical to the GUID for
/// externally visible symbols, but not for local ones.
- GlobalValue::GUID getOriginalName() { return OriginalName; }
+ GlobalValue::GUID getOriginalName() const { return OriginalName; }
/// Initialize the original name hash in this summary.
void setOriginalName(GlobalValue::GUID Name) { OriginalName = Name; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46962.147122.patch
Type: text/x-patch
Size: 620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180516/5cfe334a/attachment.bin>
More information about the llvm-commits
mailing list