[ThinLTO] FunctionImport pass can take a const index pointer (NFC)
[oota-llvm.git] / include / llvm / Transforms / IPO.h
index 04032d3b328a62f77c4e8453df2b6d0e908ad3ee..38b8ffdd9fc97871ad1d66a2ae6fb4a3b4f057c1 100644 (file)
@@ -88,7 +88,7 @@ ModulePass *createGVExtractionPass(std::vector<GlobalValue*>& GVs, bool
 
 //===----------------------------------------------------------------------===//
 /// This pass performs iterative function importing from other modules.
-Pass *createFunctionImportPass(FunctionInfoIndex *Index = nullptr);
+Pass *createFunctionImportPass(const FunctionInfoIndex *Index = nullptr);
 
 //===----------------------------------------------------------------------===//
 /// createFunctionInliningPass - Return a new pass object that uses a heuristic