[ThinLTO] FunctionImport pass can take a const index pointer (NFC)
[oota-llvm.git] / include / llvm / Transforms / IPO / PassManagerBuilder.h
index 70b785f9efa358a38e8a2a99c6e6221f0553653b..a4e7bce8ef4ae54af1db7b509d6c050eabb30c28 100644 (file)
@@ -117,7 +117,7 @@ public:
   Pass *Inliner;
 
   /// The function summary index to use for function importing.
-  FunctionInfoIndex *FunctionIndex;
+  const FunctionInfoIndex *FunctionIndex;
 
   bool DisableTailCalls;
   bool DisableUnitAtATime;