diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-22 01:47:41 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2017-09-22 01:47:41 +0000 |
commit | 388b012f4e3bdc05278959ce17d815da60c59685 (patch) | |
tree | f98b5bb5774657a60e42cdd5a6e7888b0ee838e7 /llvm/lib/Transforms/IPO/LoopExtractor.cpp | |
parent | aff33385d285224af411f3ad474148f8050f9659 (diff) | |
download | bcm5719-llvm-388b012f4e3bdc05278959ce17d815da60c59685.tar.gz bcm5719-llvm-388b012f4e3bdc05278959ce17d815da60c59685.zip |
Rename markAsErased to erase, as pointed out in a previous review; NFC
llvm-svn: 313951
Diffstat (limited to 'llvm/lib/Transforms/IPO/LoopExtractor.cpp')
-rw-r--r-- | llvm/lib/Transforms/IPO/LoopExtractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |