Commit 17c3538a authored by Xun Li's avatar Xun Li
Browse files

Revert "Fix unused variable in CoroFrame.cpp when building Release with GCC 10"

This reverts commit ff5e8964.
parent 51faba35
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1549,7 +1549,6 @@ static void rewritePHIs(BasicBlock &BB) {
    for (BasicBlock *Pred : Preds) {
      if (CatchSwitchInst *CS =
              dyn_cast<CatchSwitchInst>(Pred->getTerminator())) {
        (void)CS;
        // CleanupPad with a CatchSwitch predecessor: therefore this is an
        // unwind destination that needs to be handle specially.
        assert(CS->getUnwindDest() == &BB);