[llvm] [WebAssembly] Support assembly parsing for new EH (PR #108668)

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 20:07:38 PDT 2024


================
@@ -378,7 +378,7 @@ void WebAssemblyInstPrinter::printCatchList(const MCInst *MI, unsigned OpNo,
     const MCSymbolRefExpr *TagExpr = nullptr;
     const MCSymbolWasm *TagSym = nullptr;
     assert(Op.isExpr());
-    TagExpr = dyn_cast<MCSymbolRefExpr>(Op.getExpr());
+    TagExpr = cast<MCSymbolRefExpr>(Op.getExpr());
----------------
aheejin wrote:

drive-by fix

https://github.com/llvm/llvm-project/pull/108668


More information about the llvm-commits mailing list