diff options
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r-- | polly/lib/CodeGen/CodeGeneration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index b124525..f290be6 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -153,7 +153,7 @@ static void removeLifetimeMarkers(Region *R) { switch (IT->getIntrinsicID()) { case Intrinsic::lifetime_start: case Intrinsic::lifetime_end: - BB->getInstList().erase(InstIt); + IT->eraseFromParent(); break; default: break; |