[PATCH] D63737: [WebAssembly] Remove catch_all from AsmParser

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 24 13:18:53 PDT 2019


aheejin created this revision.
aheejin added a reviewer: aardappel.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100, dschuff.
Herald added a project: LLVM.

`catch_all` is from the first version of EH proposal and now has been
removed. There were no tests covering this, and thus no tests to remove
or fix.


Repository:
  rL LLVM

https://reviews.llvm.org/D63737

Files:
  lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp


Index: lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
===================================================================
--- lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
+++ lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
@@ -433,10 +433,6 @@
       if (pop(BaseName, Try))
         return true;
       push(Try);
-    } else if (BaseName == "catch_all") {
-      if (pop(BaseName, Try))
-        return true;
-      push(Try);
     } else if (BaseName == "end_if") {
       if (pop(BaseName, If, Else))
         return true;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63737.206289.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190624/13bb4b12/attachment.bin>


More information about the llvm-commits mailing list