aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-13 17:39:10 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-10-13 17:39:10 +0000
commite82c286fba51ffabd4979cedb3a3b2c9b02ec0f4 (patch)
tree3e979e156395350e71172e4150e2bed0865b180b /llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
parentc8f02e7540117f9f1fdfa500bc899e14232b5712 (diff)
downloadllvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.zip
llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.gz
llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.bz2
Instrumentation: Remove ilist iterator implicit conversions, NFC
llvm-svn: 250186
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp b/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
index f685803..fd3dfd9 100644
--- a/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
+++ b/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp
@@ -106,7 +106,7 @@ void BoundsChecking::emitBranchToTrap(Value *Cmp) {
}
++ChecksAdded;
- Instruction *Inst = Builder->GetInsertPoint();
+ BasicBlock::iterator Inst = Builder->GetInsertPoint();
BasicBlock *OldBB = Inst->getParent();
BasicBlock *Cont = OldBB->splitBasicBlock(Inst);
OldBB->getTerminator()->eraseFromParent();