Rename inst_range() to instructions() for consistency. NFC
[oota-llvm.git] / lib / Transforms / Scalar / PlaceSafepoints.cpp
index 098e6eff15f7602b352dae0581c0c8fe7f4fca0c..d6a48c783b4a1ccf25b661595fbe117bef84b194 100644 (file)
@@ -466,7 +466,7 @@ static Instruction *findLocationForEntrySafepoint(Function &F,
 static void findCallSafepoints(Function &F,
                                std::vector<CallSite> &Found /*rval*/) {
   assert(Found.empty() && "must be empty!");
-  for (Instruction &I : inst_range(F)) {
+  for (Instruction &I : instructions(F)) {
     Instruction *inst = &I;
     if (isa<CallInst>(inst) || isa<InvokeInst>(inst)) {
       CallSite CS(inst);