Skip to content

Commit

Permalink
Remove incorrect comment
Browse files Browse the repository at this point in the history
Summary: Removes incorrect comment for IRBuilder::InstructionDestroyer::~InstructionDestroyer().

Reviewed By: kodafb

Differential Revision: D36563288

fbshipit-source-id: a64663f205edfd57ea998b80f59d02464161deeb
  • Loading branch information
jpporto authored and facebook-github-bot committed May 21, 2022
1 parent 6fd6e18 commit d6a8dae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion include/hermes/IR/IRBuilder.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ class IRBuilder {
list.push_back(A);
}

// Restore insertion point when the object is destroyed.
~InstructionDestroyer() {
for (auto *I : list) {
I->eraseFromParent();
Expand Down

0 comments on commit d6a8dae

Please sign in to comment.