summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/Instrumentation.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/Instrumentation.cpp
parentc8f02e7540117f9f1fdfa500bc899e14232b5712 (diff)
downloadbcm5719-llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.tar.gz
bcm5719-llvm-e82c286fba51ffabd4979cedb3a3b2c9b02ec0f4.zip
Instrumentation: Remove ilist iterator implicit conversions, NFC
llvm-svn: 250186
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/Instrumentation.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/Instrumentation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
index 68aee227e9e..c504b5a8199 100644
--- a/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
+++ b/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
@@ -26,7 +26,7 @@ static BasicBlock::iterator moveBeforeInsertPoint(BasicBlock::iterator I, BasicB
if (I == IP)
return ++IP;
// Otherwise, move I before IP and return IP.
- I->moveBefore(IP);
+ I->moveBefore(&*IP);
return IP;
}
OpenPOWER on IntegriCloud