diff options
author | Nico Rieck <nico.rieck@gmail.com> | 2015-08-06 19:10:45 +0000 |
---|---|---|
committer | Nico Rieck <nico.rieck@gmail.com> | 2015-08-06 19:10:45 +0000 |
commit | 78199518c43a04fecf9886fa86202677f6a1525d (patch) | |
tree | 3dbee125e2fe66aa50c46625093cc7741aadf766 /llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | |
parent | a7bf96ab5c6971d9bd86eb0c87ea4fc9411d663f (diff) | |
download | bcm5719-llvm-78199518c43a04fecf9886fa86202677f6a1525d.tar.gz bcm5719-llvm-78199518c43a04fecf9886fa86202677f6a1525d.zip |
Rename inst_range() to instructions() for consistency. NFC
llvm-svn: 244248
Diffstat (limited to 'llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp index 098e6eff15f..d6a48c783b4 100644 --- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp +++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp @@ -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); |