summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/IR/FunctionInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/FunctionInfo.h b/llvm/include/llvm/IR/FunctionInfo.h
index 55f9ed88f1c..3749212c9be 100644
--- a/llvm/include/llvm/IR/FunctionInfo.h
+++ b/llvm/include/llvm/IR/FunctionInfo.h
@@ -244,7 +244,7 @@ public:
/// Check if the given Module has any functions available for exporting
/// in the index.
- bool hasExportedFunctions(const Module *M) {
+ bool hasExportedFunctions(const Module *M) const {
assert(M == ExportingModule &&
"Checking for exported functions on unexpected module");
return HasExportedFunctions;
OpenPOWER on IntegriCloud