From 388b012f4e3bdc05278959ce17d815da60c59685 Mon Sep 17 00:00:00 2001 From: Sanjoy Das Date: Fri, 22 Sep 2017 01:47:41 +0000 Subject: Rename markAsErased to erase, as pointed out in a previous review; NFC llvm-svn: 313951 --- llvm/lib/Transforms/IPO/LoopExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/IPO/LoopExtractor.cpp') diff --git a/llvm/lib/Transforms/IPO/LoopExtractor.cpp b/llvm/lib/Transforms/IPO/LoopExtractor.cpp index c1d46f1ba4c..b499092a1ee 100644 --- a/llvm/lib/Transforms/IPO/LoopExtractor.cpp +++ b/llvm/lib/Transforms/IPO/LoopExtractor.cpp @@ -143,7 +143,7 @@ bool LoopExtractor::runOnLoop(Loop *L, LPPassManager &) { Changed = true; // After extraction, the loop is replaced by a function call, so // we shouldn't try to run any more loop passes on it. - LI.markAsErased(L); + LI.erase(L); } ++NumExtracted; } -- cgit v1.2.3