Rename inst_range() to instructions() for consistency. NFC
[oota-llvm.git] / lib / Analysis / IPA / GlobalsModRef.cpp
index 4345f6b681358fec906f97c99c04a94751c7ff2d..f7b55c2cf8fe6e5cc84a8210d4fc96547e971f08 100644 (file)
@@ -627,7 +627,7 @@ void GlobalsModRef::AnalyzeCallGraph(CallGraph &CG, Module &M) {
     for (auto *Node : SCC) {
       if (FI.getModRefInfo() == MRI_ModRef)
         break; // The mod/ref lattice saturates here.
-      for (Instruction &I : inst_range(Node->getFunction())) {
+      for (Instruction &I : instructions(Node->getFunction())) {
         if (FI.getModRefInfo() == MRI_ModRef)
           break; // The mod/ref lattice saturates here.